Cleanup and add license headers
This commit is contained in:
@@ -43,83 +43,6 @@
|
||||
</delimiters>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!--<plugin>-->
|
||||
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
||||
<!--<artifactId>maven-antrun-plugin</artifactId>-->
|
||||
<!--<inherited>true</inherited>-->
|
||||
<!--<executions>-->
|
||||
<!--<execution>-->
|
||||
<!--<id>generate-sources</id>-->
|
||||
<!--<phase>generate-sources</phase>-->
|
||||
<!--<configuration>-->
|
||||
<!--<target>-->
|
||||
<!--<ant antfile="src/main/ant/alljavacc.xml">-->
|
||||
<!--<property name="target" value="${project.build.directory}/generated-sources/javacc" />-->
|
||||
<!--<property name="javacc.jar" value="${settings.localRepository}/net/java/dev/javacc/javacc/${javacc.version}/javacc-${javacc.version}.jar" />-->
|
||||
<!--</ant>-->
|
||||
<!--</target>-->
|
||||
<!--</configuration>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>run</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--</execution>-->
|
||||
<!--<execution>-->
|
||||
<!--<id>pmd-clean</id>-->
|
||||
<!--<phase>clean</phase>-->
|
||||
<!--<configuration>-->
|
||||
<!--<target>-->
|
||||
<!--<echo>PMD specific tasks: cleaning generated xdocs</echo>-->
|
||||
<!--<delete quiet="true">-->
|
||||
<!--<fileset dir="${basedir}/src/site/xdoc/rules/" includes="**/*.xml" />-->
|
||||
<!--<fileset dir="${basedir}/src/site/xdoc/" includes="mergedruleset.xml" />-->
|
||||
<!--<fileset dir="${basedir}/src/site/" includes="site.xml" />-->
|
||||
<!--</delete>-->
|
||||
<!--</target>-->
|
||||
<!--</configuration>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>run</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--</execution>-->
|
||||
<!--</executions>-->
|
||||
<!--</plugin>-->
|
||||
|
||||
<!--<plugin>-->
|
||||
<!--<groupId>org.codehaus.mojo</groupId>-->
|
||||
<!--<artifactId>build-helper-maven-plugin</artifactId>-->
|
||||
<!--<executions>-->
|
||||
<!--<execution>-->
|
||||
<!--<id>add-javacc-generated-sources</id>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>add-source</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--<configuration>-->
|
||||
<!--<sources>-->
|
||||
<!--<source>${project.build.directory}/generated-sources/javacc</source>-->
|
||||
<!--</sources>-->
|
||||
<!--</configuration>-->
|
||||
<!--</execution>-->
|
||||
<!--</executions>-->
|
||||
<!--</plugin>-->
|
||||
|
||||
<plugin>
|
||||
<groupId>net.sourceforge.pmd</groupId>
|
||||
<artifactId>pmd-build</artifactId>
|
||||
<configuration>
|
||||
<rulesetsDirectory>${basedir}/src/main/resources/rulesets</rulesetsDirectory>
|
||||
<siteXml>${basedir}/src/site/site.pre.xml</siteXml>
|
||||
<siteXmlTarget>${basedir}/src/site/site.xml</siteXmlTarget>
|
||||
<target>${basedir}/src/site/xdoc/rules</target>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>pre-site</phase>
|
||||
<goals>
|
||||
<goal>pmd-pre-site</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
package net.sourceforge.pmd.lang.java.bugs;
|
||||
|
||||
//import java.util.stream.IntStream;
|
||||
//import static java.util.stream.Collectors.toList;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import org.junit.Ignore;
|
||||
|
||||
+3
@@ -1,3 +1,6 @@
|
||||
/**
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
package net.sourceforge.pmd.lang.java.bugs;
|
||||
|
||||
import java.io.StringReader;
|
||||
|
||||
+3
@@ -1,3 +1,6 @@
|
||||
/**
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
package net.sourceforge.pmd.typeresolution.testdata;
|
||||
|
||||
public class UsesJavaStreams {
|
||||
|
||||
Vendored
+3
@@ -1,3 +1,6 @@
|
||||
/**
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
package net.sourceforge.pmd.typeresolution.testdata;
|
||||
|
||||
import java.lang.annotation.Repeatable;
|
||||
|
||||
Reference in New Issue
Block a user