Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-05-29 06:24:16 -0400
committerAlexander Kurtakov2012-05-29 06:24:16 -0400
commit566268337f524d708f3169d6286ed1a9eb7988a8 (patch)
tree5f3865ad9d81f52efb376ce0541491f7a669c78a /changelog
parentc9cdc75b04d90102b1d6fede8fb94ec8d30dcf12 (diff)
downloadorg.eclipse.linuxtools-566268337f524d708f3169d6286ed1a9eb7988a8.tar.gz
org.eclipse.linuxtools-566268337f524d708f3169d6286ed1a9eb7988a8.tar.xz
org.eclipse.linuxtools-566268337f524d708f3169d6286ed1a9eb7988a8.zip
Do not use new String("").
Use "" directly.
Diffstat (limited to 'changelog')
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.cparser/src/org/eclipse/linuxtools/internal/changelog/parsers/CParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/changelog/org.eclipse.linuxtools.changelog.cparser/src/org/eclipse/linuxtools/internal/changelog/parsers/CParser.java b/changelog/org.eclipse.linuxtools.changelog.cparser/src/org/eclipse/linuxtools/internal/changelog/parsers/CParser.java
index 5276db5c05..2a32788b5f 100644
--- a/changelog/org.eclipse.linuxtools.changelog.cparser/src/org/eclipse/linuxtools/internal/changelog/parsers/CParser.java
+++ b/changelog/org.eclipse.linuxtools.changelog.cparser/src/org/eclipse/linuxtools/internal/changelog/parsers/CParser.java
@@ -141,7 +141,7 @@ public class CParser implements IParserChangeLogContrib {
return "";
InputStream stream = ancestorStorage.getContents();
byte buffer[] = new byte[100];
- String data = new String("");
+ String data = "";
int read = 0;
try {
do {

Back to the top