Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Kinzler2010-07-29 10:59:42 -0400
committerMathias Kinzler2010-07-29 10:59:42 -0400
commit093e474bbf0e2ffc953f6fae54e3f3666e392cae (patch)
tree15ff79ba7f4f20e6b6c711d1d069b156413b1e7d /org.eclipse.egit.core.test
parent7aadf9e98db462d54532d909105a781c20ec6feb (diff)
downloadegit-093e474bbf0e2ffc953f6fae54e3f3666e392cae.tar.gz
egit-093e474bbf0e2ffc953f6fae54e3f3666e392cae.tar.xz
egit-093e474bbf0e2ffc953f6fae54e3f3666e392cae.zip
AddOperationTest uses 3.6 API
We still must run on 3.5, so we can't use 3.6 specific calls. Change-Id: Ie6d40b2a57bb9cd626d8dcb42f0a11662f47947e Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
Diffstat (limited to 'org.eclipse.egit.core.test')
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java
index 70f2d6ebf..cd9ea0a50 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/AddOperationTest.java
@@ -168,7 +168,7 @@ public class AddOperationTest extends GitTestCase {
"sub/a.txt", "some text");
IFile file2 = testUtils.addFileToProject(project.getProject(),
"sub/b.txt", "some text");
- file2.setDerived(true, null);
+ file2.setDerived(true);
resources.add(project.getProject().getFolder("sub"));
new AddToIndexOperation(resources).execute(null);
@@ -185,7 +185,7 @@ public class AddOperationTest extends GitTestCase {
"sub/a.txt", "some text");
IFile file2 = testUtils.addFileToProject(project.getProject(),
"sub/b.txt", "some text");
- file2.setDerived(true, null);
+ file2.setDerived(true);
resources.add(project.getProject());
new AddToIndexOperation(resources).execute(null);

Back to the top