It is currently 09 Nov 2025, 19:00
   
Text Size

build v10-02 results in a warning

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins

build v10-02 results in a warning

Postby Chris H. » 03 Oct 2009, 00:25

I built the source code from the 10-02 version on my Mac and got a warning. The warning comes from GuiDisplay3.java, line 1126, "protected PlayerZone getZone() {".

The warning states:

The method getZone() from the type GuiDisplay3.ZoneAction is never used locally.

I assume that this is not serious and needs a @SuppressWarnings.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: build v10-02 results in a warning

Postby silly freak » 03 Oct 2009, 07:52

no, this is almost irrelevant.
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: build v10-02 results in a warning

Postby DennisBergkamp » 03 Oct 2009, 14:48

Strange, it's not giving any warnings for me. Stuff still works when I comment out that method though.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 77 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 77 users online :: 0 registered, 0 hidden and 77 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 77 guests

Login Form