corrections

This commit is contained in:
ciro 2019-04-03 16:59:50 -07:00
parent e4eec5133b
commit b9ceedea23
6 changed files with 11 additions and 65 deletions

View File

@ -1,26 +1,4 @@
*.class
0.*
#folders#
/target
/neoDb*
/data
/src/main/webapp/WEB-INF/classes
*/META-INF/*
.resourceCache
# Packaged files #
*.jar
*.war
*.ear
# Files generated by integration tests
*.txt
backup-pom.xml
/bin/
/temp
#IntelliJ specific
target/
.idea/
bin/
*.iml

View File

@ -1,15 +1,15 @@
package com.baeldung.supertypecompilerexception;
public class MyClassSolutionI {
public class MyClassSolution1 {
private int myField1 = 10;
private int myField2;
public MyClassSolutionI() {
public MyClassSolution1() {
myField2 = myField1;
}
public MyClassSolutionI(int i) {
public MyClassSolution1(int i) {
myField2 = i;
}
}

View File

@ -1,15 +1,15 @@
package com.baeldung.supertypecompilerexception;
public class MyClassSolutionII {
public class MyClassSolution2 {
private int myField1 = 10;
private int myField2;
public MyClassSolutionII() {
public MyClassSolution2() {
setupMyFields(myField1);
}
public MyClassSolutionII(int i) {
public MyClassSolution2(int i) {
setupMyFields(i);
}

View File

@ -1,15 +1,15 @@
package com.baeldung.supertypecompilerexception;
public class MyClassSolutionIII {
public class MyClassSolution3 {
private static final int SOME_CONSTANT = 10;
private int myField2;
public MyClassSolutionIII() {
public MyClassSolution3() {
this(SOME_CONSTANT);
}
public MyClassSolutionIII(int i) {
public MyClassSolution3(int i) {
myField2 = i;
}
}

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern>
</encoder>
</appender>
<logger name="org.springframework" level="WARN" />
<logger name="org.springframework.transaction" level="WARN" />
<!-- in order to debug some marshalling issues, this needs to be TRACE -->
<logger name="org.springframework.web.servlet.mvc" level="WARN" />
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>

View File

@ -1,13 +0,0 @@
*.class
#folders#
/target
/neoDb*
/data
/src/main/webapp/WEB-INF/classes
*/META-INF/*
# Packaged files #
*.jar
*.war
*.ear