Permalink
Browse files

Improve code / xml formatting, #782

  • Loading branch information...
devemux86 committed Jul 12, 2016
1 parent 8f64cd5 commit 06ea29a5eb9c72e7142864779a25eeeca9bf5609
Showing with 2,763 additions and 2,644 deletions.
  1. +85 −85 config/checkstyle/checkstyle.xml
  2. +238 −236 config/pmd/pmd_ruleset.xml
  3. +22 −22 docs/MapCreation.md
  4. +47 −47 docs/MapDataStore.md
  5. +102 −102 docs/Rendertheme.md
  6. +2 −2 mapsforge-map-android/src/main/java/org/mapsforge/map/android/util/MapViewerTemplate.java
  7. +9 −9 mapsforge-poi-writer/src/main/java/org/mapsforge/poi/writer/osmosis/PoiWriterFactory.java
  8. +2 −2 mapsforge-samples-android/src/main/java/org/mapsforge/samples/android/SamplesBaseActivity.java
  9. +22 −22 mapsforge-samples-android/src/main/java/org/mapsforge/samples/android/cluster/ClusterManager.java
  10. +1 −1 mapsforge-samples-android/src/main/java/org/mapsforge/samples/android/cluster/ClusterMarker.java
  11. +1 −1 spatialite-android/src/main/java/jsqlite/Authorizer.java
  12. +22 −22 spatialite-android/src/main/java/jsqlite/Backup.java
  13. +673 −673 spatialite-android/src/main/java/jsqlite/Benchmark.java
  14. +85 −73 spatialite-android/src/main/java/jsqlite/Blob.java
  15. +25 −25 spatialite-android/src/main/java/jsqlite/Callback.java
  16. +353 −345 spatialite-android/src/main/java/jsqlite/Database.java
  17. +1 −1 spatialite-android/src/main/java/jsqlite/Exception.java
  18. +19 −19 spatialite-android/src/main/java/jsqlite/Function.java
  19. +1 −1 spatialite-android/src/main/java/jsqlite/FunctionContext.java
  20. +62 −62 spatialite-android/src/main/java/jsqlite/SQLDump.java
  21. +27 −27 spatialite-android/src/main/java/jsqlite/SQLRestore.java
  22. +580 −580 spatialite-android/src/main/java/jsqlite/Shell.java
  23. +72 −47 spatialite-android/src/main/java/jsqlite/Stmt.java
  24. +248 −177 spatialite-android/src/main/java/jsqlite/StringEncoder.java
  25. +48 −48 spatialite-android/src/main/java/jsqlite/TableResult.java
  26. +16 −15 spatialite-android/src/main/java/jsqlite/Vm.java
@@ -1,98 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<property name="severity" value="warning" />
<property name="severity" value="warning" />
<!-- See http://checkstyle.sourceforge.net/config_header.html -->
<module name="RegexpHeader">
<property name="fileExtensions" value="java" />
<property name="header"
value="/*\n * Copyright .*$\n *\n * This program is free software: you can redistribute it and/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free Software\n * Foundation, either version 3 of the License, or \(at your option\) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License along with\n * this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.\n */" />
<property name="multiLines" value="2" />
</module>
<!-- See http://checkstyle.sourceforge.net/config_header.html -->
<module name="RegexpHeader">
<property name="fileExtensions" value="java" />
<property name="header"
value="/*\n * Copyright .*$\n *\n * This program is free software: you can redistribute it and/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free Software\n * Foundation, either version 3 of the License, or \(at your option\) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License along with\n * this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.\n */" />
<property name="multiLines" value="2" />
</module>
<module name="NewlineAtEndOfFile">
<property name="fileExtensions" value="java" />
<property name="lineSeparator" value="lf" />
</module>
<module name="NewlineAtEndOfFile">
<property name="fileExtensions" value="java" />
<property name="lineSeparator" value="lf" />
</module>
<module name="TreeWalker">
<!-- See http://checkstyle.sourceforge.net/config_misc.html -->
<module name="ArrayTypeStyle" />
<module name="OuterTypeFilename" />
<module name="UncommentedMain" />
<module name="UpperEll" />
<module name="TodoComment">
<property name="format" value="(FIXME|TODO)" />
</module>
<module name="TreeWalker">
<!-- See http://checkstyle.sourceforge.net/config_misc.html -->
<module name="ArrayTypeStyle" />
<module name="OuterTypeFilename" />
<module name="UncommentedMain" />
<module name="UpperEll" />
<module name="TodoComment">
<property name="format" value="(FIXME|TODO)" />
</module>
<!-- See http://checkstyle.sourceforge.net/config_javadoc.html -->
<module name="JavadocStyle" />
<!-- See http://checkstyle.sourceforge.net/config_javadoc.html -->
<module name="JavadocStyle" />
<!-- See http://checkstyle.sourceforge.net/config_naming.html -->
<module name="ConstantName" />
<module name="LocalFinalVariableName" />
<module name="LocalVariableName" />
<module name="MemberName" />
<module name="MethodName" />
<module name="PackageName" />
<module name="ParameterName" />
<module name="StaticVariableName" />
<module name="TypeName" />
<!-- See http://checkstyle.sourceforge.net/config_naming.html -->
<module name="ConstantName" />
<module name="LocalFinalVariableName" />
<module name="LocalVariableName" />
<module name="MemberName" />
<module name="MethodName" />
<module name="PackageName" />
<module name="ParameterName" />
<module name="StaticVariableName" />
<module name="TypeName" />
<!-- See http://checkstyle.sourceforge.net/config_imports.html -->
<module name="AvoidStarImport" />
<module name="RedundantImport" />
<!-- See http://checkstyle.sourceforge.net/config_imports.html -->
<module name="AvoidStarImport" />
<module name="RedundantImport" />
<!-- See http://checkstyle.sourceforge.net/config_whitespace.html -->
<module name="GenericWhitespace" />
<module name="MethodParamPad" />
<module name="NoWhitespaceAfter">
<property name="tokens"
value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS" />
</module>
<module name="NoWhitespaceBefore" />
<module name="OperatorWrap" />
<module name="ParenPad" />
<module name="TypecastParenPad" />
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<!-- See http://checkstyle.sourceforge.net/config_whitespace.html -->
<module name="GenericWhitespace" />
<module name="MethodParamPad" />
<module name="NoWhitespaceAfter">
<property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS" />
</module>
<module name="NoWhitespaceBefore" />
<module name="OperatorWrap" />
<module name="ParenPad" />
<module name="TypecastParenPad" />
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<!-- See http://checkstyle.sourceforge.net/config_modifier.html -->
<module name="ModifierOrder" />
<module name="RedundantModifier" />
<!-- See http://checkstyle.sourceforge.net/config_modifier.html -->
<module name="ModifierOrder" />
<module name="RedundantModifier" />
<!-- See http://checkstyle.sourceforge.net/config_blocks.html -->
<module name="AvoidNestedBlocks" />
<module name="EmptyBlock" />
<module name="LeftCurly" />
<module name="RightCurly">
<property name="tokens"
value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_ELSE" />
</module>
<!-- See http://checkstyle.sourceforge.net/config_blocks.html -->
<module name="AvoidNestedBlocks" />
<module name="EmptyBlock" />
<module name="LeftCurly" />
<module name="RightCurly">
<property name="tokens"
value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_ELSE" />
</module>
<!-- See http://checkstyle.sourceforge.net/config_coding.html -->
<module name="CovariantEquals" />
<module name="DefaultComesLast" />
<module name="EmptyStatement" />
<module name="EqualsAvoidNull" />
<module name="EqualsHashCode" />
<module name="IllegalCatch" />
<module name="IllegalThrows" />
<module name="InnerAssignment" />
<module name="NoClone" />
<module name="NoFinalizer" />
<module name="OneStatementPerLine" />
<module name="ParameterAssignment" />
<module name="RedundantThrows" />
<module name="SimplifyBooleanExpression" />
<module name="SimplifyBooleanReturn" />
<module name="StringLiteralEquality" />
<module name="UnnecessaryParentheses" />
<!-- See http://checkstyle.sourceforge.net/config_coding.html -->
<module name="CovariantEquals" />
<module name="DefaultComesLast" />
<module name="EmptyStatement" />
<module name="EqualsAvoidNull" />
<module name="EqualsHashCode" />
<module name="IllegalCatch" />
<module name="IllegalThrows" />
<module name="InnerAssignment" />
<module name="NoClone" />
<module name="NoFinalizer" />
<module name="OneStatementPerLine" />
<module name="ParameterAssignment" />
<module name="RedundantThrows" />
<module name="SimplifyBooleanExpression" />
<module name="SimplifyBooleanReturn" />
<module name="StringLiteralEquality" />
<module name="UnnecessaryParentheses" />
<!-- See http://checkstyle.sourceforge.net/config_design.html -->
<module name="FinalClass" />
<module name="HideUtilityClassConstructor" />
<module name="InterfaceIsType" />
</module>
<!-- See http://checkstyle.sourceforge.net/config_design.html -->
<module name="FinalClass" />
<module name="HideUtilityClassConstructor" />
<module name="InterfaceIsType" />
</module>
</module>
Oops, something went wrong.

0 comments on commit 06ea29a

Please sign in to comment.