- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 7
 - 8
 
try {
	connection.executeQuery("select to_date('" + this.getMonth() + "', 'yyyyMM') from dual", null);
} catch (Exception e) {
	logger.error(e.getMessage(), e);
	Error = true;
	fault.addError(8, 100);
	return;
}
                                    Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
Всего: 4
+142
try {
	connection.executeQuery("select to_date('" + this.getMonth() + "', 'yyyyMM') from dual", null);
} catch (Exception e) {
	logger.error(e.getMessage(), e);
	Error = true;
	fault.addError(8, 100);
	return;
}
                                    
            Лучший способ по проверке корректности даты
this.getMonth() - возвращает дату из пришедшего запроса
        
+72
private String shutdown = "SHUTDOWN";
........
// Read a set of characters from the socket
int expected = 1024; // Cut off to avoid DoS attack
<--Зачем это тут?-->
while (expected < shutdown.length()) {
    if (random == null)
        random = new Random();
    expected += (random.nextInt() % 1024);
}
while (expected > 0) {
    int ch = -1;
    try {
        ch = stream.read();
    } catch (IOException e) {
        log.warn("StandardServer.await: read: ", e);
        ch = -1;
    }
    if (ch < 32)  // Control character or EOF terminates loop
        break;
    command.append((char) ch);
    expected--;
}
                                    Не понимаю зачем тут while. Авторы Apache Tomcat расскажите...
+62
_L1:
        if(i$ >= len$)
            break MISSING_BLOCK_LABEL_133;
        Constructor constructor = arr$[i$];
        if(Objects.equals(pattern, constructor.getParameterTypes()))
            return instantiateByConstructor(constructor, params);
        i$++;
          goto _L1
        return instantiateByClass(clazz);
        Exception e;
        e;
        Exception cause = e;
                                    TopS BI и где вы только находите таких программистов.......
+74
synchronized public void refreshConversionTable() {
        btnClick = true;
        if (dataModel != null)
            dataModel.reset();
        dataModel = null;
    }
                                    если модель данных существует, сначала сбросить все данные, а потом занулим....