Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2018-02-14 18:41:58 -0500
committerAlexander Kurtakov2018-02-15 02:12:25 -0500
commit9f83fe1e8ff87ddf3a7c4782f42a843fb5ba0e64 (patch)
tree0fb67aee9d997340573ff9b0965523e4db9086d5
parent0978d682ad394e4af137a145b084e0e94757b3fc (diff)
downloadrt.equinox.p2-9f83fe1e8ff87ddf3a7c4782f42a843fb5ba0e64.tar.gz
rt.equinox.p2-9f83fe1e8ff87ddf3a7c4782f42a843fb5ba0e64.tar.xz
rt.equinox.p2-9f83fe1e8ff87ddf3a7c4782f42a843fb5ba0e64.zip
Bug 423715 - Replace StringBuffer with StringBuilder in MD5Verifier
Change-Id: Ie5a180d179facbdb532aad3d887ca962f78a2105 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/processors/md5/MD5Verifier.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/processors/md5/MD5Verifier.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/processors/md5/MD5Verifier.java
index 9dfca3f4f..f152b9997 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/processors/md5/MD5Verifier.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/processors/md5/MD5Verifier.java
@@ -73,7 +73,7 @@ public class MD5Verifier extends ProcessingStep {
@Override
public void close() throws IOException {
byte[] digest = md5.digest();
- StringBuffer buf = new StringBuffer();
+ StringBuilder buf = new StringBuilder();
for (byte element : digest) {
if ((element & 0xFF) < 0x10)
buf.append('0');

Back to the top