Skip to content

Commit

Permalink
added generics filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
dghgit committed Jan 16, 2015
1 parent 5e71099 commit aecde07
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ant/build.regexp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

regexp: <[a-zA-Z?][^>]*[a-zA-Z0-9]>|<[a-zA-Z]>

8 changes: 8 additions & 0 deletions ant/jdk14.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

<project name="crypto1.4" default="build" basedir="..">

<property file="ant/build.regexp" />

<property name="bc.javac.source" value="1.4" />
<property name="bc.javac.target" value="1.4" />
<property name="build.dir" value="build" />
Expand Down Expand Up @@ -35,6 +37,7 @@
<exclude name="**/JCEEC5*.java" />
<exclude name="**/provider/JCEEC*.java" />
<exclude name="**/EC5*.java" />
<exclude name="**/PKCS12StoreParameter.java" />
<exclude name="**/JDKPKCS12StoreParameter.java" />
<exclude name="**/NTRU*.java" />
<exclude name="**/IndexGenerator.java" />
Expand Down Expand Up @@ -119,6 +122,11 @@
<fileset dir="pkix/src/main/javadoc" />
<fileset dir="pg/src/main/javadoc" />
</copy>
<replaceregexp match="${regexp}" replace=" " flags="g" byline="true">
<fileset dir="${src.dir}">
<include name="**/*.java"/>
</fileset>
</replaceregexp>
<available classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" property="checkstyle.on" />
</target>

Expand Down

0 comments on commit aecde07

Please sign in to comment.