Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-01-11 08:12:39 -0500
committerEike Stepper2012-01-11 08:12:39 -0500
commitc03f292e63f3cde71621321f79ae6f39561d9629 (patch)
tree8a40ddec706dbb3f092100a4b60d2f10ca352ef4
parent0e4d5df279b8c92255af38579cdc15a545766a21 (diff)
downloadcdo-c03f292e63f3cde71621321f79ae6f39561d9629.tar.gz
cdo-c03f292e63f3cde71621321f79ae6f39561d9629.tar.xz
cdo-c03f292e63f3cde71621321f79ae6f39561d9629.zip
Don't use File.createTempFile()
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_273758_Test.java2
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/ExpectedIOTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_273758_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_273758_Test.java
index 0ffbdfd848..b3e15700ed 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_273758_Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_273758_Test.java
@@ -77,7 +77,7 @@ public class Bugzilla_273758_Test extends AbstractCDOTest
List<EObject> sourceContents = new ArrayList<EObject>(collection);
// Target Resource
- File file = File.createTempFile("exportModel1", null);
+ File file = createTempFile("exportModel1", null);
String tempFileURI = file.toURI().toString();
TestEMFUtil.saveXMI(tempFileURI, sourceContents);
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/ExpectedIOTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/ExpectedIOTest.java
index 7b1ccaa252..a82ff20dbd 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/ExpectedIOTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/ExpectedIOTest.java
@@ -40,7 +40,7 @@ public class ExpectedIOTest extends AbstractOMTest
public void testInputStream() throws Exception
{
- final File file = File.createTempFile("ExpectedIOTest", ".tmp");
+ final File file = createTempFile("ExpectedIOTest", ".tmp");
final int LOOPS = 30;
Thread producer = new Thread("PRODUCER")

Back to the top