diff options
author | Dani Megert | 2008-01-25 10:31:32 +0000 |
---|---|---|
committer | Dani Megert | 2008-01-25 10:31:32 +0000 |
commit | 29e2bde1e40bd3bd5fe4b6b7b1dfbcdeabed3dec (patch) | |
tree | 722cf8be6374829097e3a70190f4e5d15d99b336 /org.eclipse.core.filebuffers.tests/src/org | |
parent | 3387ec3f7020aaf318225e89d9fa59e02d82026d (diff) | |
download | eclipse.platform.text-29e2bde1e40bd3bd5fe4b6b7b1dfbcdeabed3dec.tar.gz eclipse.platform.text-29e2bde1e40bd3bd5fe4b6b7b1dfbcdeabed3dec.tar.xz eclipse.platform.text-29e2bde1e40bd3bd5fe4b6b7b1dfbcdeabed3dec.zip |
Use compact assignment.
Diffstat (limited to 'org.eclipse.core.filebuffers.tests/src/org')
2 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBuffersTestPlugin.java b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBuffersTestPlugin.java index f09895a4485..2ca63ae4b36 100644 --- a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBuffersTestPlugin.java +++ b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBuffersTestPlugin.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -21,7 +21,7 @@ public class FileBuffersTestPlugin extends Plugin { private static FileBuffersTestPlugin fgPlugin; public FileBuffersTestPlugin() { - fgPlugin = this; + fgPlugin= this; } public static FileBuffersTestPlugin getDefault() { diff --git a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileTool.java b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileTool.java index 58ce968ffb1..b1530ecd703 100644 --- a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileTool.java +++ b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileTool.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -41,7 +41,7 @@ public class FileTool { /** * A buffer. */ - private static byte[] buffer = new byte[8192]; + private static byte[] buffer= new byte[8192]; /** * Unzips the given zip file to the given destination directory @@ -240,7 +240,7 @@ public class FileTool { try { Thread.sleep(1000); // sleep a second } catch (InterruptedException e) { - } + } } } } |