reduce the number of Eclipse warnings to two