This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: Better http connection user-agent string


Mark> +    userAgent = "gnu-classpath/"
Mark> +      + System.getProperty("gnu.classpath.version")
Mark> +      + " ("
Mark> +      + System.getProperty("gnu.classpath.vm.shortname")
Mark> +      + "/"
Mark> +      + System.getProperty("java.vm.version")
Mark> +      + ")";

A multi-line expression like this requires an open paren
after the "=" and a close paren before the ";".

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]