0

fix: множественные предупреждения

This commit is contained in:
2016-06-08 01:17:45 +03:00
parent c846e7e4d9
commit df19bef260
4 changed files with 10 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ public class Main implements Runnable {
private Logger logger = LoggerFactory.getLogger(Main.class);
private ExcelReader excel;
private Properties properties = new Properties();
public static long sleepThread = 100;
static long sleepThread = 100;
public static SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.yyyy");
public static Date currentDate = new Date(System.currentTimeMillis());
@@ -72,7 +72,7 @@ public class Main implements Runnable {
return excel.getNextData();
}
public static void safeSleep(long ms) {
static void safeSleep(long ms) {
try {
Thread.sleep(ms);
} catch (InterruptedException ignore) {

View File

@@ -5,10 +5,7 @@
package ru.dmitriymx.astralcheckreport.objects;
public class LeftObject {
public int id;
public LeftObject() {
}
private int id;
public LeftObject(int id) {
this.id = id;
@@ -16,7 +13,11 @@ public class LeftObject {
@Override
public boolean equals(Object obj) {
if (obj instanceof LeftObject) {
LeftObject lobj = (LeftObject) obj;
return this.id == lobj.id;
} else {
return false;
}
}
}

View File

@@ -7,7 +7,7 @@ package ru.dmitriymx.astralcheckreport.objects;
import java.util.List;
public class Organization {
public int id;
int id;
public String inn, kpp;
public List<Product> products;
public String companyGroupName;

View File

@@ -7,7 +7,6 @@ package ru.dmitriymx.astralcheckreport.objects;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import java.util.Map;
public class Product {
public int id;