Skip to content
Snippets Groups Projects
Commit 8e78da54 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

added legacy class (api change) and let mvn report deprecation

parent 37ceeadb
No related branches found
No related tags found
No related merge requests found
......@@ -197,6 +197,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<showDeprecation>true</showDeprecation>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
......
package teetime.stage.util;
import java.io.File;
/**
* Legacy class: Renamed to {@link TextLineContainer}
*
* @author Nelson Tavares de Sousa
*
*/
@Deprecated // Set TextLineContainer to final after removal
public class TextLine extends TextLineContainer {
public TextLine(final File textFile, final String textLine) {
super(textFile, textLine);
// TODO Auto-generated constructor stub
}
}
......@@ -20,7 +20,7 @@ import java.io.File;
/**
* @author Christian Wulf
*/
public final class TextLineContainer {
public class TextLineContainer {
private final File textFile;
private final String textLine;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment