Skip to content

Commit 7839892

Browse files
dan-s1pvillard31
authored andcommitted
NIFI-14871 Implemented PMD UnnecessaryConstructor rule.
Signed-off-by: Pierre Villard <[email protected]> This closes #10216.
1 parent accc21c commit 7839892

File tree

68 files changed

+2
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2
-217
lines changed

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/FlowStatusReport.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ public class FlowStatusReport implements java.io.Serializable {
4242
private List<String> errorsGeneratingReport;
4343
private static final ObjectMapper objectMapper = new ObjectMapper();
4444

45-
public FlowStatusReport() {
46-
}
47-
4845
public List<ControllerServiceStatus> getControllerServiceStatusList() {
4946
return controllerServiceStatusList;
5047
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/common/BulletinStatus.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ public class BulletinStatus implements java.io.Serializable {
2323
private Date timestamp;
2424
private String message;
2525

26-
public BulletinStatus() {
27-
}
28-
2926
public Date getTimestamp() {
3027
return timestamp;
3128
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/common/ValidationError.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ public class ValidationError implements java.io.Serializable {
2222
private String input;
2323
private String reason;
2424

25-
public ValidationError() {
26-
}
27-
2825
public String getSubject() {
2926
return subject;
3027
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/connection/ConnectionHealth.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ public class ConnectionHealth implements java.io.Serializable {
2121
private int queuedCount;
2222
private long queuedBytes;
2323

24-
public ConnectionHealth() {
25-
}
26-
2724
public int getQueuedCount() {
2825
return queuedCount;
2926
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/connection/ConnectionStats.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ public class ConnectionStats implements java.io.Serializable {
2323
private int outputCount;
2424
private long outputBytes;
2525

26-
public ConnectionStats() {
27-
}
28-
2926
public int getInputCount() {
3027
return inputCount;
3128
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/controllerservice/ControllerServiceHealth.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ public class ControllerServiceHealth implements java.io.Serializable {
2626
private boolean hasBulletins;
2727
private List<ValidationError> validationErrorList;
2828

29-
public ControllerServiceHealth() {
30-
}
31-
3229
public String getState() {
3330
return state;
3431
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/controllerservice/ControllerServiceStatus.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ public class ControllerServiceStatus implements java.io.Serializable {
2626
private ControllerServiceHealth controllerServiceHealth;
2727
private List<BulletinStatus> bulletinList;
2828

29-
public ControllerServiceStatus() {
30-
}
31-
3229
public String getName() {
3330
return name;
3431
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/instance/InstanceHealth.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ public class InstanceHealth implements java.io.Serializable {
2424
private boolean hasBulletins;
2525
private int activeThreads;
2626

27-
public InstanceHealth() {
28-
}
29-
3027
public int getQueuedCount() {
3128
return queuedCount;
3229
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/instance/InstanceStats.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ public class InstanceStats implements java.io.Serializable {
2727
private long bytesReceived;
2828
private int flowfilesReceived;
2929

30-
public InstanceStats() {
31-
}
32-
3330
public long getBytesRead() {
3431
return bytesRead;
3532
}

minifi/minifi-commons/minifi-flow-status-report/src/main/java/org/apache/nifi/minifi/commons/status/instance/InstanceStatus.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ public class InstanceStatus implements java.io.Serializable {
2727
private List<BulletinStatus> bulletinList;
2828
private InstanceStats instanceStats;
2929

30-
public InstanceStatus() {
31-
}
32-
3330
public InstanceHealth getInstanceHealth() {
3431
return instanceHealth;
3532
}

0 commit comments

Comments
 (0)