DERReader.java: Call static methods staticly.
2004-05-03 Mark Wielaard <mark@klomp.org> * gnu/java/security/der/DERReader.java: Call static methods staticly. * java/awt/TextComponent.java (select): Use selectionEnd parameter. * java/net/URL.java (set(String, String, int, String, String, String, String, String)): Assign this.file to path or path + "?" + query. * java/util/Arrays.java: Call static methods staticly. * java/util/zip/ZipEntry.java: Likewise. * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign dir to this.direction. * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): Assign static field only once. (DefaultTableCellRenderer): Don't reassign noFocusBorder each time. From-SVN: r81453
This commit is contained in:
parent
a00d3b3c65
commit
007265b805
8 changed files with 34 additions and 21 deletions
|
@ -743,12 +743,11 @@ public final class URL implements Serializable
|
|||
this.host = host;
|
||||
this.userInfo = userInfo;
|
||||
this.port = port;
|
||||
this.file = path;
|
||||
this.authority = authority;
|
||||
if (query == null)
|
||||
this.file = file;
|
||||
this.file = path;
|
||||
else
|
||||
this.file = file + "?" + query;
|
||||
this.file = path + "?" + query;
|
||||
this.ref = ref;
|
||||
hashCode = hashCode(); // Used for serialization.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue