Modified static access and indent code with java following sonar's
standart