This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: FYI: Better http connection user-agent string
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: 28 Jun 2004 09:16:50 -0600
- Subject: Re: FYI: Better http connection user-agent string
- References: <1088364925.2703.350.camel@localhost>
- Reply-to: tromey at redhat dot com
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