It is currently 12 Sep 2025, 21:48
   
Text Size

r9793 Discussion: "fix javadoc comments"

Post MTG Forge Related Programming Questions Here

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

r9793 Discussion: "fix javadoc comments"

Postby Braids » 17 Aug 2011, 03:15

i noticed in src/main/java/forge/CardReader.java, my specific java.io imports were converted to import java.io.*. this is in conflict with CheckStyle.

@jendave, can something be done to prevent this in the future?
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: r9793 Discussion: "fix javadoc comments"

Postby jendave » 17 Aug 2011, 08:07

Braids wrote:i noticed in src/main/java/forge/CardReader.java, my specific java.io imports were converted to import java.io.*. this is in conflict with CheckStyle.

@jendave, can something be done to prevent this in the future?
What do you have in your "Preferences - Java - Organize Imports"? You should have a seeting that says "Number of imports needed for .*". Set that to 99.
Attachments
organize-imports.png
jendave
 
Posts: 307
Joined: 01 Jun 2008, 07:19
Has thanked: 8 times
Been thanked: 21 times

Re: r9793 Discussion: "fix javadoc comments"

Postby Braids » 17 Aug 2011, 17:50

jendave wrote:
Braids wrote:i noticed in src/main/java/forge/CardReader.java, my specific java.io imports were converted to import java.io.*. this is in conflict with CheckStyle.

@jendave, can something be done to prevent this in the future?
What do you have in your "Preferences - Java - Organize Imports"? You should have a seeting that says "Number of imports needed for .*". Set that to 99.
good advice, but that was not my objective. i have sent you a PM.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time


Return to Developer's Corner

Who is online

Users browsing this forum: XRumer23ovews and 108 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 109 users online :: 1 registered, 0 hidden and 108 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: XRumer23ovews and 108 guests

Login Form