Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #910
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Knute Johnson <september@knutejohnson.com> |
| Newsgroups | comp.lang.java.help |
| Subject | Object copies? |
| Date | Sun, 31 Jul 2011 15:59:43 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 12 |
| Message-ID | <j14moo$5cf$1@dont-email.me> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sun, 31 Jul 2011 22:59:36 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="mz/LDSJwiWnk3Jnnqg7x+Q"; logging-data="5519"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YZGwIk5cKMUShivOI6rIr" |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 |
| Cancel-Lock | sha1:nhYQee4osynElLoay3lJChAoan0= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.help:910 |
Show key headers only | View raw
I need a copy of a String that contains the same data as the original. I need to keep the reference to the original String. The copy's reference I'm going to use to get a modified String by applying methods of the String class. If I just create a new String with the String(String str) constructor, FindBugs complains. Is there another way to get a copy? Thanks, -- Knute Johnson
Back to comp.lang.java.help | Previous | Next — Next in thread | Find similar
Object copies? Knute Johnson <september@knutejohnson.com> - 2011-07-31 15:59 -0700
Re: Object copies? Patricia Shanahan <pats@acm.org> - 2011-07-31 16:26 -0700
Re: Object copies? Knute Johnson <september@knutejohnson.com> - 2011-07-31 16:38 -0700
Re: Object copies? markspace <-@.> - 2011-07-31 16:47 -0700
Re: Object copies? Knute Johnson <september@knutejohnson.com> - 2011-07-31 17:14 -0700
Re: Object copies? Roedy Green <see_website@mindprod.com.invalid> - 2011-08-01 08:45 -0700
csiph-web