Update Line.java

incomplet