Skip to content
Snippets Groups Projects
Commit d87957f7 authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

PMD and CS issues

parent 419f7bbb
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@
<rule ref="rulesets/java/design.xml">
<exclude name="ConfusingTernary"/>
<exclude name="CompareObjectsWithEquals"/>
<exclude name="AbstractClassWithoutAbstractMethod"/>
</rule>
<rule ref="rulesets/java/empty.xml"/>
<rule ref="rulesets/java/finalizers.xml"/>
......
/***************************************************************************
* Copyright 2014 Kieker Project (http://kieker-monitoring.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
***************************************************************************/
package kieker.diagnosis.common.domain;
import java.util.ArrayList;
......@@ -46,19 +62,19 @@ public abstract class AbstractOperationCall<T extends AbstractOperationCall<T>>
return this.operation;
}
public int getStackDepth() {
public final int getStackDepth() {
return this.stackDepth;
}
public void setStackDepth(final int stackDepth) {
public final void setStackDepth(final int stackDepth) {
this.stackDepth = stackDepth;
}
public int getStackSize() {
public final int getStackSize() {
return this.stackSize;
}
public void setStackSize(final int stackSize) {
public final void setStackSize(final int stackSize) {
this.stackSize = stackSize;
}
......@@ -70,7 +86,7 @@ public abstract class AbstractOperationCall<T extends AbstractOperationCall<T>>
return this.failedCause;
}
public void setFailedCause(final String failedCause) {
public final void setFailedCause(final String failedCause) {
this.failedCause = failedCause;
}
......
/***************************************************************************
* Copyright 2014 Kieker Project (http://kieker-monitoring.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
***************************************************************************/
package kieker.diagnosis.common.domain;
public final class AggregatedOperationCall extends AbstractOperationCall<AggregatedOperationCall> {
......
......@@ -29,7 +29,9 @@ import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeColumn;
public abstract class AbstractTraceTreeColumnSortListener<T extends AbstractTrace<?>> extends SelectionAdapter {
public abstract class AbstractTraceTreeColumnSortListener<T extends AbstractTrace<?>> extends SelectionAdapter implements Serializable {
private static final long serialVersionUID = 1L;
private final TraceComparator comparator = new TraceComparator();
private int direction;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment