mirror of
https://github.com/Noratrieb/UMLetClassParser.git
synced 2026-01-14 08:35:07 +01:00
cleanup
This commit is contained in:
parent
e6088b3547
commit
c7dfdf6f47
6 changed files with 0 additions and 39 deletions
13
.idea/libraries/Maven__junit_junit_4_13_1.xml
generated
13
.idea/libraries/Maven__junit_junit_4_13_1.xml
generated
|
|
@ -1,13 +0,0 @@
|
||||||
<component name="libraryTable">
|
|
||||||
<library name="Maven: junit:junit:4.13.1">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.13.1/junit-4.13.1.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.13.1/junit-4.13.1-javadoc.jar!/" />
|
|
||||||
</JAVADOC>
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.13.1/junit-4.13.1-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
<component name="libraryTable">
|
|
||||||
<library name="Maven: org.hamcrest:hamcrest-core:1.3">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
|
|
||||||
</JAVADOC>
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
|
|
@ -11,7 +11,5 @@
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.13.1" level="project" />
|
|
||||||
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
|
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
8
pom.xml
8
pom.xml
|
|
@ -7,14 +7,6 @@
|
||||||
<groupId>com.github.nilstrieb</groupId>
|
<groupId>com.github.nilstrieb</groupId>
|
||||||
<artifactId>UMLClassParser</artifactId>
|
<artifactId>UMLClassParser</artifactId>
|
||||||
<version>0.9-SNAPSHOT</version>
|
<version>0.9-SNAPSHOT</version>
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<version>RELEASE</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>14</maven.compiler.source>
|
<maven.compiler.source>14</maven.compiler.source>
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@ public class UMLField {
|
||||||
String[] formattedSplit = formatted.split(";");
|
String[] formattedSplit = formatted.split(";");
|
||||||
|
|
||||||
if(!manager.isIgnoreEcapsulation()) {
|
if(!manager.isIgnoreEcapsulation()) {
|
||||||
System.out.println("not ignore");
|
|
||||||
this.encapsulation = switch (formattedSplit[0]) {
|
this.encapsulation = switch (formattedSplit[0]) {
|
||||||
case "+" -> "public ";
|
case "+" -> "public ";
|
||||||
case "-" -> "private ";
|
case "-" -> "private ";
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,6 @@ public class UMLManager {
|
||||||
classes.add(new UMLClass(text, packageString, this));
|
classes.add(new UMLClass(text, packageString, this));
|
||||||
}
|
}
|
||||||
|
|
||||||
classes.forEach(e -> System.out.println(e.toString()));
|
|
||||||
|
|
||||||
for (UMLClass c : classes) {
|
for (UMLClass c : classes) {
|
||||||
try {
|
try {
|
||||||
System.err.println(packagePath + "/" + c.getName() + ".java");
|
System.err.println(packagePath + "/" + c.getName() + ".java");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue