Skip to content

Commit 90c4f56

Browse files
committed
Moved current state of RI into separate module.
1 parent 7adc4f1 commit 90c4f56

File tree

75 files changed

+15313
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+15313
-4
lines changed

.classpath

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10+
<attributes>
11+
<attribute name="optional" value="true"/>
12+
<attribute name="maven.pomderived" value="true"/>
13+
</attributes>
14+
</classpathentry>
15+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
16+
<attributes>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
25+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
26+
<attributes>
27+
<attribute name="maven.pomderived" value="true"/>
28+
</attributes>
29+
</classpathentry>
30+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
31+
<attributes>
32+
<attribute name="maven.pomderived" value="true"/>
33+
</attributes>
34+
</classpathentry>
35+
<classpathentry kind="output" path="target/classes"/>
36+
</classpath>

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>jsr354-ri</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
eclipse.preferences.version=1
2+
encoding//src/main/java=UTF-8
3+
encoding//src/main/resources=UTF-8
4+
encoding//src/test/java=UTF-8
5+
encoding//src/test/resources=UTF-8
6+
encoding/<project>=UTF-8
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
3+
org.eclipse.jdt.core.compiler.compliance=1.7
4+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5+
org.eclipse.jdt.core.compiler.source=1.7
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1
File renamed without changes.

README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
JSR 354: Money and Currency API
2+
=========
3+
JSR 354 provides an API for representing, transporting, and performing comprehensive calculations with Money and Currency.
4+
See the home page for more details:
5+
http://jcp.org/en/jsr/detail?id=354
6+
7+
The current module contains the reference implementation of JSR 354.

checkstyle-suppressions.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE suppressions PUBLIC
3+
"-//Puppy Crawl//DTD Suppressions 1.0//EN"
4+
"http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
5+
6+
<suppressions>
7+
<suppress checks=".*" files=".*Test" />
8+
</suppressions>

checkstyle.xml

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
3+
4+
<!--
5+
This configuration file was written by the eclipse-cs plugin configuration editor
6+
-->
7+
<!--
8+
Checkstyle-Configuration: JSR 354
9+
Description: none
10+
-->
11+
<module name="Checker">
12+
<property name="severity" value="warning"/>
13+
<module name="TreeWalker">
14+
<property name="tabWidth" value="4"/>
15+
<module name="FileContentsHolder"/>
16+
<module name="AvoidStarImport"/>
17+
<module name="EmptyBlock">
18+
<property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,STATIC_INIT"/>
19+
</module>
20+
<module name="EmptyForInitializerPad">
21+
<property name="option" value="space"/>
22+
</module>
23+
<module name="EmptyForIteratorPad">
24+
<property name="option" value="space"/>
25+
</module>
26+
<module name="EqualsHashCode"/>
27+
<module name="IllegalImport"/>
28+
<module name="IllegalInstantiation">
29+
<property name="classes" value="Boolean"/>
30+
</module>
31+
<module name="InnerAssignment"/>
32+
<module name="JavadocType">
33+
<property name="scope" value="protected"/>
34+
</module>
35+
<module name="JavadocMethod">
36+
<property name="excludeScope" value="private"/>
37+
<property name="allowUndeclaredRTE" value="true"/>
38+
</module>
39+
<module name="JavadocVariable">
40+
<property name="excludeScope" value="private"/>
41+
</module>
42+
<module name="LeftCurly"/>
43+
<module name="LineLength">
44+
<property name="max" value="140"/>
45+
<property name="tabWidth" value="4"/>
46+
</module>
47+
<module name="LocalFinalVariableName"/>
48+
<module name="LocalVariableName"/>
49+
<module name="MemberName">
50+
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
51+
</module>
52+
<module name="MethodLength">
53+
<property name="max" value="300"/>
54+
</module>
55+
<module name="MethodName"/>
56+
<module name="ModifierOrder"/>
57+
<module name="NeedBraces"/>
58+
<module name="NoWhitespaceAfter"/>
59+
<module name="NoWhitespaceBefore">
60+
<property name="allowLineBreaks" value="true"/>
61+
<property name="tokens" value="SEMI,DOT,POST_DEC,POST_INC"/>
62+
</module>
63+
<module name="OperatorWrap">
64+
<property name="option" value="eol"/>
65+
<property name="tokens" value="ASSIGN, DIV_ASSIGN, PLUS_ASSIGN, MINUS_ASSIGN, STAR_ASSIGN, MOD_ASSIGN, SR_ASSIGN, BSR_ASSIGN, SL_ASSIGN, BXOR_ASSIGN, BOR_ASSIGN, BAND_ASSIGN"/>
66+
</module>
67+
<module name="PackageName"/>
68+
<module name="ParameterName"/>
69+
<module name="ParameterNumber">
70+
<property name="max" value="20"/>
71+
</module>
72+
<module name="ParenPad"/>
73+
<module name="RedundantImport"/>
74+
<module name="RedundantModifier"/>
75+
<module name="RightCurly"/>
76+
<module name="TypeName"/>
77+
<module name="TypecastParenPad"/>
78+
<module name="UpperEll"/>
79+
<module name="VisibilityModifier"/>
80+
<module name="WhitespaceAfter"/>
81+
<module name="WhitespaceAround">
82+
<property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND"/>
83+
<property name="allowEmptyConstructors" value="true"/>
84+
<property name="allowEmptyMethods" value="true"/>
85+
</module>
86+
<module name="MissingDeprecated"/>
87+
<module name="MissingOverride"/>
88+
<module name="PackageAnnotation"/>
89+
<module name="CovariantEquals"/>
90+
<module name="DefaultComesLast"/>
91+
<module name="ExplicitInitialization"/>
92+
<module name="FallThrough"/>
93+
<module name="InnerAssignment"/>
94+
<module name="StringLiteralEquality"/>
95+
<module name="GenericWhitespace"/>
96+
<module name="MethodParamPad"/>
97+
<module name="FinalClass"/>
98+
<module name="MutableException"/>
99+
<module name="ArrayTypeStyle"/>
100+
<module name="Indentation">
101+
<property name="basicOffset" value="4"/>
102+
<property name="caseIndent" value="4"/>
103+
</module>
104+
<module name="UncommentedMain"/>
105+
</module>
106+
<module name="SuppressionCommentFilter">
107+
<property name="offCommentFormat" value="CSOFF"/>
108+
<property name="onCommentFormat" value="CSON"/>
109+
</module>
110+
<module name="SuppressionFilter">
111+
<property name="file" value="${basedir}/checkstyle-suppressions.xml"/>
112+
</module>
113+
<module name="FileLength"/>
114+
<module name="FileTabCharacter">
115+
<property name="eachLine" value="true"/>
116+
<property name="severity" value="error"/>
117+
</module>
118+
<module name="NewlineAtEndOfFile"/>
119+
<module name="SuppressWithNearbyCommentFilter">
120+
<property name="commentFormat" value="CSIGNORE"/>
121+
<property name="checkFormat" value=".*"/>
122+
<property name="checkC" value="false"/>
123+
</module>
124+
</module>

0 commit comments

Comments
 (0)