SuccessChanges

Summary

  1. Bug 540953 - Use SubMonitor in File (details)
  2. Bug 540953 - CopyVisitor (details)
  3. Bug 551070 - Use multicatch blocks if possible (details)
  4. toString() on array (details)
  5. Bug 551070 - Use multicatch blocks if possible (details)
  6. Manual array copy (details)
  7. Remove unnecessary type specifications (details)
  8. Bug 540953 -Use SubMonitor in Folder#create (details)
  9. Bug 551237 - Add tracing option for build cycles (details)
  10. Bug 544975 - Open closed project with BACKGROUND_REFRESH causes refresh (details)
Commit f9b555bbce9ae279d57dff03d45e1f99aa4c82d4 by lars vogel
Bug 540953 - Use SubMonitor in File
- Replaces Policy.subMonitorFor with direct usage of SubMonitor.
- Uses SubMonitor newChild instead of split to avoid adding cancellation
checks
Change-Id: Ic794175945f16d6605edfd294ecde521c187c747 Signed-off-by:
Karsten Thoms <karsten.thoms@itemis.de>
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/File.java
Commit 8539653d6fb34e6955f678c43fac91c83484ae1d by lars vogel
Bug 540953 - CopyVisitor
Change-Id: I26ccaf5f958d15605f7868240330c25e3a2b6e71 Signed-off-by: Lars
Vogel <Lars.Vogel@vogella.com>
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/CopyVisitor.java
Commit 61d6f1236b434c3ac951921bdc0f4fc0c18f6b6e by karsten thoms
Bug 551070 - Use multicatch blocks if possible
Change-Id: I39e10950807dc66f65c5bfcfb6da8bed558e6318 Signed-off-by: Lars
Vogel <Lars.Vogel@vogella.com>
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeListenerTest.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceTest.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/OpenOutputStreamTest.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IPathVariableTest.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspaceConcurrencyTest.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileSystemTest.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/Test342968FileSystem.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ContentDescriptionManagerTest.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceTest.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug113943.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileCacheTest.java
Commit 0dde3ed4da7778aff0e80eb1cc327dc5c6e1d89b by karsten thoms
toString() on array
toString() implementation for arrays does not convert array contents to
String, rather it will print array's type and hash code (defined as
identity hash code). To get string representation of contents of the
array, the array could be for example wrapped into Arrays.asList(), as
Collections produce content representation in their toString().
Change-Id: I08c0c4585c364b02f037c2dbd3eab78840d42de8 Signed-off-by:
Carsten Hammer <carsten.hammer@t-online.de>
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileCacheTest.java
Commit 90135b621226502429b90aab99bcc68fcb8efa1c by karsten thoms
Bug 551070 - Use multicatch blocks if possible
Change-Id: I7bbeee34bbc1946feb5868410fbf01667e8850cb Signed-off-by: Lars
Vogel <Lars.Vogel@vogella.com> Also-by: Karsten Thoms
<karsten.thoms@itemis.de>
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/File.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/UnifiedTree.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/CheckMissingNaturesListener.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/FileUtil.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/WorkspaceDescriptionReader.java
Commit ea04689f752c3dcc8f32afaf4c2e92155c6c5d9d by karsten thoms
Manual array copy
Use Arrays.asList or System.arraycopy instead of copying array in a for
loop
Change-Id: Ife363fd8828990f4d7879e36aa3282b06a3d50ce Signed-off-by:
Carsten Hammer <carsten.hammer@t-online.de>
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/MarkerTest.java
Commit 247fcad7887c33ec09872f8db94d3eea9ebd3449 by karsten thoms
Remove unnecessary type specifications
Since Java 7 the diamond operator can be used instead of explicit type
parameters.
Change-Id: Ib5cb3c9c0b1518c09036d481bcfeda9d5b3cba4a Signed-off-by:
Carsten Hammer <carsten.hammer@t-online.de>
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/PathVariableManager.java
The file was modifiedtests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/MarkerTest.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/WorkspaceTreeReader_2.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/SaveManager.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Rules.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/events/NotificationManager.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/WorkspaceRoot.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/ProjectDescription.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/refresh/MonitorManager.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/refresh/RefreshJob.java
Commit d0ce58398740f9a4dac0eb31f1c04919e3023a58 by lars vogel
Bug 540953 -Use SubMonitor in Folder#create
Change-Id: I4dae314f2d97179c9889f2a3492085065b14f1fa Signed-off-by: Lars
Vogel <Lars.Vogel@vogella.com>
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Folder.java
Commit 5f82cf63a762295655e90b25c3eae85b8613b09d by lars vogel
Bug 551237 - Add tracing option for build cycles
Logging the build cycle
Change-Id: I2259fdbf947b61d1d31cc300a83185ff3c2c7b08 Signed-off-by: Lars
Vogel <Lars.Vogel@vogella.com>
The file was modifiedbundles/org.eclipse.core.resources/.options
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Workspace.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/Policy.java
Commit fb448eef05345b648ae77762266dc97cb3ee4fb8 by simeon andreev
Bug 544975 - Open closed project with BACKGROUND_REFRESH causes refresh
When passing IResource.BACKGROUND_REFRESH to IProject.open(int,
IProgressMonitor), the flag is only considered if the project is being
opened for the first time after creation. If the project already existed
but is closed, the BACKGROUND_REFRESH flag does not cause a refresh.
This change adjusts the behaviour, so that passing BACKGROUND_REFRESH to
the open method also affects opening closed projects. This change is
necessary, so that opening closed projects from views (Package Explorer,
Project Explorer, Navigator, etc.) results in a refresh in the
background. E.g. to synchronize a shared project that was updated in its
repository but was closed in the Eclipse workspace.
Change-Id: I80b1593124b337f803a40b8f46dab98cc879e7d4 Signed-off-by:
Simeon Andreev <simeon.danailov.andreev@gmail.com>
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IResource.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java
The file was modifiedbundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IProject.java