Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2246
| From | Daniel Pitts <newsgroup.nospam@virtualinfinity.net> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: <identifier> expected |
| References | (2 earlier) <8ae1dc69-308e-4c40-94cd-c422629a6a18@googlegroups.com> <k7j2ak$48h$1@dont-email.me> <1654e9d6-505d-4ffe-882b-632b75ca3388@googlegroups.com> <269ns.7452$ND1.292@newsfe08.iad> <db208ba0-769f-44c3-9f7f-ed980586b8bc@googlegroups.com> |
| Message-ID | <ey9ns.28227$2Q3.22181@newsfe25.iad> (permalink) |
| Date | 2012-11-09 10:45 -0500 |
On 11/9/12 10:37 AM, Вадим Воеводин wrote: > пятница, 9 ноября 2012 г., 22:15:11 UTC+7 пользователь Daniel Pitts написал: >> On 11/9/12 9:11 AM, Вадим Воеводин wrote: >> >>> пятница, 9 ноября 2012 г., 21:00:52 UTC+7 пользователь Eric Sosman написал: >> >>>> On 11/9/2012 8:42 AM, Вадим Воеводин wrote: >> >>>> >> >>>>> пятница, 9 ноября 2012 г., 20:29:02 UTC+7 пользователь Eric Sosman написал: >> >>>> >> >>>>>> On 11/9/2012 3:55 AM, v.vadim.se@gmail.com wrote: >> >>>> >> >>>>>>> I got error in the following piece of code: >> >>>> >> >>>>>>> [...] >> >>>> >> >>>>>>> var4.<init>(TFC_Settings.getIntFor(config, "item", "SeedsWheat", var1), 0); ### THIS >> >>>> >> >>>>>> ^^^^^^ >> >>>> >> >>>>>> If you're trying to invoke a constructor, use `new'. If >> >>>> >> >>>>>> you're trying to do something else, explain what you're trying >> >>>> >> >>>>>> to do. >> >>>> >> >>>>> >> >>>> >> >>>>> All i want is to fix error, that i have, then recompiling. See screenshot: >> >>>> >> >>>>> http://ipic.su/img/img7/fs/kiss_2kb.1352468497.png >> >>>> >> >>>> >> >>>> >> >>>> To get rid of the error, delete the line of code. >> >>>> >> >>>> >> >>>> >> >>>> If you wanted that line to do something, explain what you >> >>>> >> >>>> wanted it to do. As things stand, the line is meaningless. >> >>>> >> >>>> >> >>>> >> >>>> -- >> >>>> >> >>>> Eric Sosman >> >>>> >> >>>> esosman@comcast-dot-net.invalid >> >>> >> >>> I already tried to delete line, next thing is that after that a get 100+ errors after that line, i think it doing something, but i don't know, what exacly. >> >>> >> >> So the question is, why did you add that line? Can you give us the rest >> >> of the code? What is your actual (end) goal? > > I'm not owner of the code. This is one of the java files (there are many of them). I should recompile all these java's to a one zip, that contain class files. This is a mod for Minecraft. > Where did you get this mod? It seems possible to me that this isn't actually Java source, but either decompiler output, or a description of how to modify the byte-code. I suggest asking the original author about how to install/compile the mod.
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
<identifier> expected v.vadim.se@gmail.com - 2012-11-09 00:55 -0800
Re: <identifier> expected Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-09 08:28 -0500
Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 05:42 -0800
Re: <identifier> expected Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-09 09:00 -0500
Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 06:11 -0800
Re: <identifier> expected Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-09 09:18 -0500
Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 07:10 -0800
Re: <identifier> expected Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-11-09 10:15 -0500
Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 07:37 -0800
Re: <identifier> expected Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-11-09 10:45 -0500
Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 07:54 -0800
Re: <identifier> expected Roedy Green <see_website@mindprod.com.invalid> - 2012-11-10 11:21 -0800
csiph-web