|
From: <de...@us...> - 2009-05-05 19:47:46
|
Revision: 4726
http://fudaa.svn.sourceforge.net/fudaa/?rev=4726&view=rev
Author: deniger
Date: 2009-05-05 19:47:22 +0000 (Tue, 05 May 2009)
Log Message:
-----------
Modified Paths:
--------------
trunk/soft/fudaa-crue/.pmd
trunk/soft/fudaa-crue/fudaa/.pmd
trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/crue/CruePersistanceErrorManager.java
trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/crue/explorer/CrueLauncher.java
trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/test/AppCrueTest.java
trunk/soft/fudaa-crue/src/main/config/pmd.xml
Modified: trunk/soft/fudaa-crue/.pmd
===================================================================
--- trunk/soft/fudaa-crue/.pmd 2009-05-05 17:49:07 UTC (rev 4725)
+++ trunk/soft/fudaa-crue/.pmd 2009-05-05 19:47:22 UTC (rev 4726)
@@ -224,10 +224,6 @@
<ruleset>Controversial Rules</ruleset>
</rule>
<rule>
- <name>CallSuperInConstructor</name>
- <ruleset>Controversial Rules</ruleset>
- </rule>
- <rule>
<name>UnnecessaryParentheses</name>
<ruleset>Controversial Rules</ruleset>
</rule>
Modified: trunk/soft/fudaa-crue/fudaa/.pmd
===================================================================
--- trunk/soft/fudaa-crue/fudaa/.pmd 2009-05-05 17:49:07 UTC (rev 4725)
+++ trunk/soft/fudaa-crue/fudaa/.pmd 2009-05-05 19:47:22 UTC (rev 4726)
@@ -224,10 +224,6 @@
<ruleset>Controversial Rules</ruleset>
</rule>
<rule>
- <name>CallSuperInConstructor</name>
- <ruleset>Controversial Rules</ruleset>
- </rule>
- <rule>
<name>UnnecessaryParentheses</name>
<ruleset>Controversial Rules</ruleset>
</rule>
Modified: trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/crue/CruePersistanceErrorManager.java
===================================================================
--- trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/crue/CruePersistanceErrorManager.java 2009-05-05 17:49:07 UTC (rev 4725)
+++ trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/crue/CruePersistanceErrorManager.java 2009-05-05 19:47:22 UTC (rev 4726)
@@ -16,6 +16,7 @@
import org.fudaa.ctulu.CtuluDefaultLogFormatter;
import org.fudaa.ctulu.CtuluUI;
import org.fudaa.ctulu.gui.CtuluLibSwing;
+import org.fudaa.dodico.crue.io.common.Messages;
import org.fudaa.ebli.ressource.EbliResource;
import org.fudaa.fudaa.commun.FudaaLib;
import org.jdesktop.swingx.JXTreeTable;
@@ -31,10 +32,10 @@
public CruePersistanceErrorManager() {
super();
- this.analyser_ = new CtuluAnalyze();
+ this.analyser_ = new CtuluAnalyze(Messages.RESOURCE_BUNDLE);
}
- CtuluAnalyze analyser_ = new CtuluAnalyze();
+ CtuluAnalyze analyser_ = new CtuluAnalyze(Messages.RESOURCE_BUNDLE);
public CtuluAnalyze getAnalyser() {
return analyser_;
Modified: trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/crue/explorer/CrueLauncher.java
===================================================================
--- trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/crue/explorer/CrueLauncher.java 2009-05-05 17:49:07 UTC (rev 4725)
+++ trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/crue/explorer/CrueLauncher.java 2009-05-05 19:47:22 UTC (rev 4726)
@@ -15,6 +15,10 @@
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
+import com.memoire.bu.*;
+import com.memoire.fu.FuLib;
+import com.memoire.fu.FuLog;
+
import org.fudaa.ctulu.gui.CtuluTaskOperationGUI;
import org.fudaa.dodico.crue.io.CrueFileFormatManager;
import org.fudaa.ebli.ressource.EbliResource;
@@ -24,17 +28,6 @@
import org.fudaa.fudaa.crue.common.CrueCommomImplementation;
import org.fudaa.fudaa.ressource.FudaaResource;
-import com.memoire.bu.BuApplication;
-import com.memoire.bu.BuCommonInterface;
-import com.memoire.bu.BuInformationsSoftware;
-import com.memoire.bu.BuLib;
-import com.memoire.bu.BuPreferences;
-import com.memoire.bu.BuRegistry;
-import com.memoire.bu.BuResource;
-import com.memoire.fu.Fu;
-import com.memoire.fu.FuLib;
-import com.memoire.fu.FuLog;
-
/**
* Launcher de crue.
*
@@ -46,9 +39,9 @@
private static void updateVersion() {
if (BuPreferences.BU.getBooleanProperty("check.update", true)) {
- if (Fu.DEBUG && FuLog.isDebug()) {
- FuLog.debug("FTR: search for updates");
- }
+ // if (Fu.DEBUG && FuLog.isDebug()) {
+ // FuLog.debug("FTR: search for updates");
+ // }
final Thread d = new Thread() {
@Override
public void run() {
@@ -270,21 +263,12 @@
@Override
public void windowClosed(final WindowEvent _e) {
final Window e = _e.getWindow();
- if (Fu.DEBUG && FuLog.isDebug()) {
- FuLog.debug("FTR: close frame " + e.getName());
- }
final boolean isTailClosed = (tail_ != null) && (tail_.getFrame() == e);
if (isTailClosed) {
- if (Fu.DEBUG && FuLog.isDebug()) {
- FuLog.debug("FTR: close tail frame");
- }
tail_ = null;
}
if (supervisor_ != null) {
if (supervisor_.getFrame() == e) {
- if (Fu.DEBUG && FuLog.isDebug()) {
- FuLog.debug("FTR: close supervisor frame");
- }
supervisor_ = null;
} else if (!isTailClosed) {
supervisor_.getFrame().toFront();
Modified: trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/test/AppCrueTest.java
===================================================================
--- trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/test/AppCrueTest.java 2009-05-05 17:49:07 UTC (rev 4725)
+++ trunk/soft/fudaa-crue/fudaa/src/main/java/org/fudaa/fudaa/test/AppCrueTest.java 2009-05-05 19:47:22 UTC (rev 4726)
@@ -15,6 +15,7 @@
import org.fudaa.ctulu.CtuluAnalyze;
import org.fudaa.ctulu.gui.CtuluDialogPanel;
import org.fudaa.dodico.crue.io.TestCrueContrat;
+import org.fudaa.dodico.crue.io.common.Messages;
import org.fudaa.dodico.crue.io.dao.ValidatorXml;
import org.fudaa.fudaa.commun.FudaaLib;
import org.fudaa.fudaa.crue.CruePersistanceErrorManager;
@@ -180,7 +181,7 @@
final String key = (String) combo.getSelectedItem();
final String validateur = mapValidation.get(key);
- final CtuluAnalyze listeMessageError = new CtuluAnalyze();
+ final CtuluAnalyze listeMessageError = new CtuluAnalyze(Messages.RESOURCE_BUNDLE);
final File fichiertovalidate = new File(field.getText());
listeMessageError.setDesc(FudaaLib.getS(" Analyse du Fichier " + fichiertovalidate.getName()));
Modified: trunk/soft/fudaa-crue/src/main/config/pmd.xml
===================================================================
--- trunk/soft/fudaa-crue/src/main/config/pmd.xml 2009-05-05 17:49:07 UTC (rev 4725)
+++ trunk/soft/fudaa-crue/src/main/config/pmd.xml 2009-05-05 19:47:22 UTC (rev 4726)
@@ -26,9 +26,7 @@
<rule ref="rulesets/basic.xml/EmptyStaticInitializer"/>
<rule ref="rulesets/basic.xml/UnconditionalIfStatement"/>
<rule ref="rulesets/basic.xml/EmptyStatementNotInLoop"/>
- <rule ref="rulesets/basic.xml/BooleanInstantiation">
- <priority>2</priority>
- </rule>
+ <rule ref="rulesets/basic.xml/BooleanInstantiation"/>
<rule ref="rulesets/basic.xml/UnnecessaryFinalModifier"/>
<rule ref="rulesets/basic.xml/CollapsibleIfStatements"/>
<rule ref="rulesets/basic.xml/UselessOverridingMethod"/>
@@ -66,7 +64,6 @@
<rule ref="rulesets/controversial.xml/AssignmentInOperand"/>
<rule ref="rulesets/controversial.xml/DontImportSun"/>
<rule ref="rulesets/controversial.xml/SuspiciousOctalEscape"/>
- <rule ref="rulesets/controversial.xml/CallSuperInConstructor"/>
<rule ref="rulesets/controversial.xml/UnnecessaryParentheses"/>
<rule ref="rulesets/controversial.xml/DefaultPackage">
<priority>5</priority>
@@ -74,7 +71,6 @@
<rule ref="rulesets/controversial.xml/BooleanInversion">
<priority>5</priority>
</rule>
- <rule ref="rulesets/controversial.xml/DataflowAnomalyAnalysis"/>
<rule ref="rulesets/controversial.xml/AvoidUsingShortType"/>
<rule ref="rulesets/controversial.xml/AvoidUsingVolatile"/>
<rule ref="rulesets/controversial.xml/AvoidUsingNativeCode"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|