Commit 4de2c858 authored by BenoitLB's avatar BenoitLB
Browse files

fichiers mvn site

parent f43b7008
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Maven: com.h2database:h2:1.2.125" level="project" />
<orderEntry type="library" name="Maven: javax.persistence:persistence-api:1.0.2" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate:3.2.6.ga" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:1.2.3" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.0.4" level="project" />
<orderEntry type="library" name="Maven: asm:asm-attrs:1.5.3" level="project" />
<orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
<orderEntry type="library" name="Maven: antlr:antlr:2.7.6" level="project" />
<orderEntry type="library" name="Maven: cglib:cglib:2.1_3" level="project" />
<orderEntry type="library" name="Maven: asm:asm:1.5.3" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:2.1.1" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:3.4.0.GA" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:ejb3-persistence:1.0.2.GA" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-commons-annotations:3.1.0.GA" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-annotations:3.4.0.GA" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-core:3.3.0.SP1" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.4.2" level="project" />
<orderEntry type="library" name="Maven: javax.transaction:jta:1.1" level="project" />
<orderEntry type="library" name="Maven: javassist:javassist:3.4.GA" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-simple:1.4.2" level="project" />
<orderEntry type="library" name="Maven: c3p0:c3p0:0.9.1.2" level="project" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0"?>
<ruleset name="Braces"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>
The Braces ruleset contains rules regarding the use and placement of braces.
</description>
<!-- Rules, that have been moved into a category -->
<rule ref="category/java/codestyle.xml/ForLoopsMustUseBraces" deprecated="true" />
<rule ref="category/java/codestyle.xml/IfElseStmtsMustUseBraces" deprecated="true" />
<rule ref="category/java/codestyle.xml/IfStmtsMustUseBraces" deprecated="true" />
<rule ref="category/java/codestyle.xml/WhileLoopsMustUseBraces" deprecated="true" />
</ruleset>
#Wed Apr 11 16:32:18 CEST 2018
/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/dao/impl/CompteDaoImpl.java=1523456300000
/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/dao/CompteDao.java=1523456300000
/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/resources/log4j.properties=1523456300000
/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/dao/impl/ContactDaoImpl.java=1523456300000
/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/dao/ContactDao.java=1523456300000
configuration*?=B86CA1555C29016BA1043C43221C2BF888BA32D8
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!--
Checkstyle configuration that checks the Google coding conventions from Google Java Style
that can be found at https://google.github.io/styleguide/javaguide.html.
Checkstyle is very configurable. Be sure to read the documentation at
http://checkstyle.sf.net (or in your downloaded distribution).
To completely disable a check, just comment it out or delete it from the file.
Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
-->
<module name = "Checker">
<property name="charset" value="UTF-8"/>
<property name="severity" value="warning"/>
<property name="fileExtensions" value="java, properties, xml"/>
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
</module>
<module name="TreeWalker">
<module name="OuterTypeFilename"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
<property name="format" value="\\u00(08|09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
<property name="message" value="Avoid using corresponding octal or Unicode escape."/>
</module>
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowEscapesForControlCharacters" value="true"/>
<property name="allowByTailComment" value="true"/>
<property name="allowNonPrintableEscapes" value="true"/>
</module>
<module name="LineLength">
<property name="max" value="100"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="AvoidStarImport"/>
<module name="OneTopLevelClass"/>
<module name="NoLineWrap"/>
<module name="EmptyBlock">
<property name="option" value="TEXT"/>
<property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
</module>
<module name="NeedBraces"/>
<module name="LeftCurly">
<property name="maxLineLength" value="100"/>
</module>
<module name="RightCurly"/>
<module name="RightCurly">
<property name="option" value="alone"/>
<property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, STATIC_INIT, INSTANCE_INIT"/>
</module>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyMethods" value="true"/>
<property name="allowEmptyTypes" value="true"/>
<property name="allowEmptyLoops" value="true"/>
<message key="ws.notFollowed"
value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
<message key="ws.notPreceded"
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
</module>
<module name="OneStatementPerLine"/>
<module name="MultipleVariableDeclarations"/>
<module name="ArrayTypeStyle"/>
<module name="MissingSwitchDefault"/>
<module name="FallThrough"/>
<module name="UpperEll"/>
<module name="ModifierOrder"/>
<module name="EmptyLineSeparator">
<property name="allowNoEmptyLineBetweenFields" value="true"/>
</module>
<module name="SeparatorWrap">
<property name="tokens" value="DOT"/>
<property name="option" value="nl"/>
</module>
<module name="SeparatorWrap">
<property name="tokens" value="COMMA"/>
<property name="option" value="EOL"/>
</module>
<module name="PackageName">
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
<message key="name.invalidPattern"
value="Package name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="TypeName">
<message key="name.invalidPattern"
value="Type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MemberName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Member name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="ParameterName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="CatchParameterName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Catch parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="LocalVariableName">
<property name="tokens" value="VARIABLE_DEF"/>
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<property name="allowOneCharVarInForLoop" value="true"/>
<message key="name.invalidPattern"
value="Local variable name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="ClassTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Class type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MethodTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Method type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="InterfaceTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Interface type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="NoFinalizer"/>
<module name="GenericWhitespace">
<message key="ws.followed"
value="GenericWhitespace ''{0}'' is followed by whitespace."/>
<message key="ws.preceded"
value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
<message key="ws.illegalFollow"
value="GenericWhitespace ''{0}'' should followed by whitespace."/>
<message key="ws.notPreceded"
value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
</module>
<module name="Indentation">
<property name="basicOffset" value="2"/>
<property name="braceAdjustment" value="0"/>
<property name="caseIndent" value="2"/>
<property name="throwsIndent" value="4"/>
<property name="lineWrappingIndentation" value="4"/>
<property name="arrayInitIndent" value="2"/>
</module>
<module name="AbbreviationAsWordInName">
<property name="ignoreFinal" value="false"/>
<property name="allowedAbbreviationLength" value="1"/>
</module>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="VariableDeclarationUsageDistance"/>
<module name="CustomImportOrder">
<property name="specialImportsRegExp" value="com.google"/>
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="customImportOrderRules" value="STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"/>
</module>
<module name="MethodParamPad"/>
<module name="OperatorWrap">
<property name="option" value="NL"/>
<property name="tokens" value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "/>
</module>
<module name="AnnotationLocation">
<property name="tokens" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF"/>
</module>
<module name="AnnotationLocation">
<property name="tokens" value="VARIABLE_DEF"/>
<property name="allowSamelineMultipleAnnotations" value="true"/>
</module>
<module name="NonEmptyAtclauseDescription"/>
<module name="JavadocTagContinuationIndentation"/>
<module name="SummaryJavadoc">
<property name="forbiddenSummaryFragments" value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
</module>
<module name="JavadocParagraph"/>
<module name="AtclauseOrder">
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="minLineCount" value="2"/>
<property name="allowedAnnotations" value="Override, Test"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
</module>
<module name="MethodName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
<message key="name.invalidPattern"
value="Method name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="SingleLineJavadoc">
<property name="ignoreInlineTags" value="false"/>
</module>
<module name="EmptyCatchBlock">
<property name="exceptionVariableName" value="expected"/>
</module>
<module name="CommentsIndentation"/>
</module>
</module>
This diff is collapsed.
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="gtd">
<properties>
<!-- Scan for annotated classes and Hibernate mapping XML files -->
<property name="hibernate.archive.autodetection" value="class"/>
<property name="hibernate.connection.driver_class"
value="org.h2.Driver" />
<property name="hibernate.connection.url"
value="jdbc:h2:~/.gtd/db" />
<property name="hibernate.connection.username"
value="sa" />
<property name="hibernate.connection.password"
value="" />
<property name="hibernate.c3p0.min_size"
value="5"/>
<property name="hibernate.c3p0.max_size"
value="20"/>
<property name="hibernate.c3p0.timeout"
value="300"/>
<property name="hibernate.c3p0.max_statements"
value="50"/>
<property name="hibernate.c3p0.idle_test_period"
value="3000"/>
<property name="hibernate.dialect"
value="org.hibernate.dialect.H2Dialect"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
</persistence-unit>
</persistence>
\ No newline at end of file
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
# Root logger option
log4j.rootLogger=DEBUG
# Hibernate logging options (INFO only shows startup messages)
#log4j.logger.org.hibernate=INFO
# Log JDBC bind parameter runtime arguments
#log4j.logger.org.hibernate.type=DEBUG
<?xml version="1.0" encoding="UTF-8"?>
<pmd-cpd>
<duplication lines="41" tokens="195">
<file line="11"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/util/VisitorPrioriteImpl.java"/>
<file line="11"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/util/impl/VisitorPrioriteImpl.java"/>
<codefragment><![CDATA[public class VisitorPrioriteImpl implements fr.alma.gtd.util.Visitor {
/**
* methode de l'interface Visitor
*/
@Override
public void visitTache(Tache tache){
//Start of user code Visitor.visitTache
if (tache.getEcheancier() == null) {
tache.setPrioriteDynamique(tache.getPriorite() * 100);
} else {
Long div = 10000000000l;
Float mod = ((float) (tache.getEcheancier().getDateArret().getTime() - System.currentTimeMillis())) / div;
tache.setPrioriteDynamique(Math.round(tache.getPriorite() * 100 / mod));
}
//End of user code
}
/**
* methode de l'interface Visitor
*/
@Override
public void visitProjet(Projet projet) {
//Start of user code Visitor.visitProjetOrdonne
for (Element e : projet.getElements()) {
e.accept(this);
}
int priorite = 0;
for (Element e : projet.getElements()) {
if (e.getPrioriteDynamique() != null && e.getPrioriteDynamique() > priorite) {
priorite = e.getPrioriteDynamique();
}
}
if (priorite > 0) {
projet.setPrioriteDynamique(priorite);
}
//End of user code
}
}]]></codefragment>
</duplication>
<duplication lines="17" tokens="189">
<file line="107"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/gestionComptes/ChargementCompte.java"/>
<file line="121"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/gestionComptes/NouveauCompte.java"/>
<codefragment><![CDATA[ .addComponent(annulerBotton)))
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(loginLabel)
.addComponent(loginText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mdpLabel)
.addComponent(mdpText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(annulerBotton)]]></codefragment>
</duplication>
<duplication lines="24" tokens="159">
<file line="59"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogAjoutContexte.java"/>
<file line="101"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogEcheancier.java"/>
<codefragment><![CDATA[ });
annuler.setText("Annuler");
annuler.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
annulerActionPerformed();
}
});
valider.setText("Valider");
valider.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
validerActionPerformed();
}
});
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(textContexte, javax.swing.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE)]]></codefragment>
</duplication>
<duplication lines="16" tokens="155">
<file line="169"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/PanelAfficher.java"/>
<file line="162"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/PanelRenseignement.java"/>
<codefragment><![CDATA[ .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 327, Short.MAX_VALUE)))
.addContainerGap())
);
panelGeneralLayout.setVerticalGroup(
panelGeneralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelGeneralLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelGeneralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(labelNom)
.addComponent(textNom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(panelGeneralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(labelDescription)
.addGroup(panelGeneralLayout.createSequentialGroup()
.addGap(2, 2, 2)
.addComponent(scrollDescription, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)))]]></codefragment>
</duplication>
<duplication lines="21" tokens="128">
<file line="59"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogAjoutContexte.java"/>
<file line="101"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogEcheancier.java"/>
<file line="66"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogSelectionProjet.java"/>
<codefragment><![CDATA[ });
annuler.setText("Annuler");
annuler.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
annulerActionPerformed();
}
});
valider.setText("Valider");
valider.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
validerActionPerformed();
}
});
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()]]></codefragment>
</duplication>
<duplication lines="16" tokens="112">
<file line="52"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogFaire.java"/>
<file line="49"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogTache.java"/>
<codefragment><![CDATA[ public void actionPerformed(java.awt.event.ActionEvent evt) {
validerActionPerformed();
}
});
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap(297, Short.MAX_VALUE)
.addComponent(valider)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(annuler)
.addContainerGap())
.addComponent(panelAfficher, javax.swing.GroupLayout.DEFAULT_SIZE, 447, Short.MAX_VALUE)]]></codefragment>
</duplication>
<duplication lines="15" tokens="110">
<file line="91"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogAjoutContact.java"/>
<file line="68"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogAjoutContexte.java"/>
<file line="110"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/renseignement/DialogEcheancier.java"/>
<codefragment><![CDATA[ valider.setEnabled(false);
valider.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
validerActionPerformed();
}
});
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()]]></codefragment>
</duplication>
<duplication lines="25" tokens="103">
<file line="21"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/gestionComptes/ChargementCompte.java"/>
<file line="21"
path="/comptes/E146247P/Documents/S6/CEL/projet/GTDClientAgravain/src/main/java/fr/alma/gtd/ihm/gestionComptes/NouveauCompte.java"/>
<codefragment><![CDATA[ public ChargementCompte(java.awt.Frame parent, boolean modal) {
super(parent, modal);
setLocationRelativeTo(null);
initComponents();
// apparence selon le systeme
try {
javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
javax.swing.SwingUtilities.updateComponentTreeUI(this);
} catch (Exception e) {
System.out.println("LookAndFeel non supporté.");
}
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
loginLabel = new javax.swing.JLabel();
mdpLabel = new javax.swing.JLabel();]]></codefragment>
</duplication>
</pmd-cpd>
\ No newline at end of file
<?xml version="1.0"?>
<ruleset name="Design"