mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -16,19 +16,23 @@
|
||||
|
||||
package com.intellij.codeInspection.ex;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author max
|
||||
*/
|
||||
public class JobDescriptor {
|
||||
@NotNull
|
||||
private final String myDisplayName;
|
||||
private int myTotalAmount;
|
||||
private int myDoneAmount;
|
||||
public static final JobDescriptor[] EMPTY_ARRAY = new JobDescriptor[0];
|
||||
|
||||
public JobDescriptor(String displayName) {
|
||||
public JobDescriptor(@NotNull String displayName) {
|
||||
myDisplayName = displayName;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getDisplayName() {
|
||||
return myDisplayName;
|
||||
}
|
||||
@@ -47,12 +51,6 @@ public class JobDescriptor {
|
||||
}
|
||||
|
||||
public void setDoneAmount(int doneAmount) {
|
||||
if (doneAmount > getTotalAmount()) {
|
||||
int i = 0;
|
||||
}
|
||||
if (doneAmount < getDoneAmount()) {
|
||||
int i = 0;
|
||||
}
|
||||
myDoneAmount = doneAmount;
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -30,7 +30,6 @@ import com.intellij.psi.PsiDocumentManager;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.PsiElementVisitor;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.util.NotNullProducer;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import com.intellij.util.containers.FilteringIterator;
|
||||
import org.jetbrains.annotations.Nls;
|
||||
|
||||
Reference in New Issue
Block a user