Update maxTriple.java

Just reduced it by a line. every line matters :)