You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/17 20:27:20 UTC
[commons-bcel] branch master updated: Remove useless local variable
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new 433b41e2 Remove useless local variable
433b41e2 is described below
commit 433b41e233ee913bd4c665e8bd94499151dd70ed
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Thu Nov 17 15:27:16 2022 -0500
Remove useless local variable
---
src/main/java/org/apache/bcel/classfile/Signature.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/bcel/classfile/Signature.java b/src/main/java/org/apache/bcel/classfile/Signature.java
index b8c51ad7..b1dbb764 100644
--- a/src/main/java/org/apache/bcel/classfile/Signature.java
+++ b/src/main/java/org/apache/bcel/classfile/Signature.java
@@ -243,7 +243,6 @@ public final class Signature extends Attribute {
*/
@Override
public String toString() {
- final String s = getSignature();
- return "Signature: " + s;
+ return "Signature: " + getSignature();
}
}