diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-15 09:33:50 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-15 09:33:50 +0900 |
commit | c60814d1d5de7454a4808d17f603bdb4e458ebee (patch) | |
tree | cf5fc9ec19b56538f16d72c2ea1b9fefdb65ddf2 | |
parent | 778d62e5964a7efd142bcf026c950f8e19240408 (diff) | |
download | jgit-c60814d1d5de7454a4808d17f603bdb4e458ebee.tar.gz jgit-c60814d1d5de7454a4808d17f603bdb4e458ebee.zip |
ConfigTest: Remove redundant assignment
Change-Id: Ia913dbe6b7ad4b7000525fda8ca08cbc8dd87da6
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java index 3deb7a60f4..712e9df445 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java @@ -837,8 +837,7 @@ public class ConfigTest { File config = tmp.newFile("config"); String fooBar = "[foo]\nbar=true\n"; - String fooPlus = fooBar; - Files.write(config.toPath(), fooPlus.getBytes()); + Files.write(config.toPath(), fooBar.getBytes()); Config parsed = parse("[include]\npath=" + pathToString(config) + "\n"); assertFalse(parsed.getBoolean("foo", "bar", false)); |