Skip to content

Commit 76d34eb

Browse files
committed
Release of version 1.4.3
Missing javadoc added to avoid Maven warning and build failure during the release.
1 parent 37b5306 commit 76d34eb

File tree

8 files changed

+14
-13
lines changed

8 files changed

+14
-13
lines changed

findbugs-test-util/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.h3xstream.findsecbugs</groupId>
77
<artifactId>findsecbugs-root-pom</artifactId>
8-
<version>1.4.3-SNAPSHOT</version>
8+
<version>1.4.3</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

plugin-deps/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.h3xstream.findsecbugs</groupId>
77
<artifactId>findsecbugs-root-pom</artifactId>
8-
<version>1.4.3-SNAPSHOT</version>
8+
<version>1.4.3</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.h3xstream.findsecbugs</groupId>
77
<artifactId>findsecbugs-root-pom</artifactId>
8-
<version>1.4.3-SNAPSHOT</version>
8+
<version>1.4.3</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

plugin/src/main/java/com/h3xstream/findsecbugs/common/ByteCode.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static void printOpCode(Instruction ins, ConstantPoolGen cpg) {
7575
* @param h Instruction Handle
7676
* @param cpg Constant Pool
7777
* @param clazz Type of the constant being read
78-
* @return
78+
* @return The constant value if any is found
7979
*/
8080
public static <T> T getConstantLDC(InstructionHandle h, ConstantPoolGen cpg, Class<T> clazz) {
8181
Instruction prevIns = h.getInstruction();
@@ -105,7 +105,7 @@ public static Integer getConstantInt(InstructionHandle h) {
105105
* Extract the number from a push operation (BIPUSH/SIPUSH).
106106
*
107107
* @param h Instruction Handle
108-
* @return
108+
* @return The constant number if any is found
109109
*/
110110
public static Number getPushNumber(InstructionHandle h) {
111111
Instruction prevIns = h.getInstruction();
@@ -122,9 +122,9 @@ public static Number getPushNumber(InstructionHandle h) {
122122
/**
123123
* Get the previous instruction matching the given type of instruction (second parameter)
124124
*
125-
* @param startHandle
126-
* @param clazz Type of instruction to look for
127-
* @return
125+
* @param startHandle Location to start from
126+
* @param clazz Type of instruction to look for
127+
* @return The instruction found (null if not found)
128128
*/
129129
public static <T> T getPrevInstruction(InstructionHandle startHandle, Class<T> clazz) {
130130
InstructionHandle curHandle = startHandle;

plugin/src/main/java/com/h3xstream/findsecbugs/injection/InjectionSource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public interface InjectionSource {
2929
* its constant pool gen. All classes dependencies can be found in this pool.
3030
*
3131
* @param cpg
32-
* @return
32+
* @return If the current class need to be analyzed.
3333
*/
3434
boolean isCandidate(ConstantPoolGen cpg);
3535

@@ -40,7 +40,7 @@ public interface InjectionSource {
4040
* @param ins Instruction visit
4141
* @param cpg ConstantPool (needed to find the class name and method name associate to instruction)
4242
* @param insHandle instruction handle (needed to look at the instruction around the current instruction)
43-
* @return
43+
* @return Precision about the parameter at risk for the current instruction visit. (InjectionPoint.NONE when the method is safe)
4444
*/
4545
InjectionPoint getInjectableParameters(InvokeInstruction ins, ConstantPoolGen cpg, InstructionHandle insHandle);
4646

plugin/src/main/java/com/h3xstream/findsecbugs/injection/TaintDetector.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ private void reportBug(BugInstance bugInstance, Taint taint, String currentMetho
198198

199199
private void delayBugToReport(String method, Taint taint, BugInstance bug) {
200200
TaintSink taintSink = new TaintSink(taint, bug);
201-
Set<TaintSink> sinkSet = methodsWithSinks.getOrDefault(method, new HashSet<TaintSink>());
201+
Set<TaintSink> sinkSet = methodsWithSinks.get(method);
202+
if(sinkSet == null) sinkSet = new HashSet<TaintSink>();
202203
sinkSet.add(taintSink);
203204
methodsWithSinks.put(method, sinkSet);
204205
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<artifactId>findsecbugs-root-pom</artifactId>
88

99
<packaging>pom</packaging>
10-
<version>1.4.3-SNAPSHOT</version>
10+
<version>1.4.3</version>
1111

1212
<name>Find Security Bugs root</name>
1313

website/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.h3xstream.findsecbugs</groupId>
88
<artifactId>findsecbugs-root-pom</artifactId>
9-
<version>1.4.3-SNAPSHOT</version>
9+
<version>1.4.3</version>
1010
</parent>
1111

1212
<modelVersion>4.0.0</modelVersion>

0 commit comments

Comments
 (0)