Author: dennisl
Date: Tue Nov 26 19:04:03 2013
New Revision: 1545785
URL: http://svn.apache.org/r1545785
Log:
[RAT-155] Do not add empty first and last lines in the license header for
certain families.
Modified:
creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java
Modified:
creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java
URL:
http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java?rev=1545785&r1=1545784&r2=1545785&view=diff
==============================================================================
---
creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java
(original)
+++
creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/annotation/AbstractLicenceAppender.java
Tue Nov 26 19:04:03 2013
@@ -383,12 +383,6 @@ public abstract class AbstractLicenceApp
return "/*" + LINE_SEP;
} else if (isFamilySGML(type)) {
return "<!--" + LINE_SEP;
- } else if (isFamilyAPT(type)) {
- return "~~" + LINE_SEP;
- } else if (isFamilySH(type)) {
- return "#" + LINE_SEP;
- } else if (isFamilyBAT(type)) {
- return "rem" + LINE_SEP;
}
return "";
}
@@ -406,12 +400,6 @@ public abstract class AbstractLicenceApp
return " */" + LINE_SEP;
} else if (isFamilySGML(type)) {
return "-->" + LINE_SEP;
- } else if (isFamilyAPT(type)) {
- return "~~" + LINE_SEP;
- } else if (isFamilySH(type)) {
- return "#" + LINE_SEP;
- } else if (isFamilyBAT(type)) {
- return "rem" + LINE_SEP;
}
return "";
}