Skip to content

Commit f61f403

Browse files
authored
Merge pull request #2 from QuickWrite/feature/walker
Add a Tree Walker for Fluent --- It now adds a simple API to use the fluent system by just using a `FluentBundleBuilder`.
2 parents c341a0f + 478c045 commit f61f403

Some content is hidden

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

50 files changed

+2773
-573
lines changed

.github/workflows/code_quality.yml

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

pom.xml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,44 +12,64 @@
1212
<plugin>
1313
<groupId>org.apache.maven.plugins</groupId>
1414
<artifactId>maven-compiler-plugin</artifactId>
15+
<version>3.10.1</version>
16+
1517
<configuration>
1618
<source>15</source>
1719
<target>15</target>
1820
</configuration>
1921
</plugin>
22+
<plugin>
23+
<groupId>org.apache.maven.plugins</groupId>
24+
<artifactId>maven-javadoc-plugin</artifactId>
25+
<version>3.4.1</version>
26+
<configuration>
27+
<doclint>none</doclint>
28+
</configuration>
29+
</plugin>
2030
</plugins>
2131
</build>
2232

2333
<properties>
2434
<maven.compiler.source>16</maven.compiler.source>
2535
<maven.compiler.target>16</maven.compiler.target>
36+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2638
</properties>
2739

2840
<dependencies>
2941
<dependency>
30-
<groupId>org.junit.jupiter</groupId>
31-
<artifactId>junit-jupiter-engine</artifactId>
32-
<scope>test</scope>
33-
<version>5.8.2</version>
42+
<groupId>com.ibm.icu</groupId>
43+
<artifactId>icu4j</artifactId>
44+
<version>68.1</version>
3445
</dependency>
3546

3647
<dependency>
3748
<groupId>org.apache.commons</groupId>
3849
<artifactId>commons-text</artifactId>
3950
<version>1.9</version>
4051
</dependency>
52+
4153
<dependency>
4254
<groupId>junit</groupId>
4355
<artifactId>junit</artifactId>
4456
<version>4.13.1</version>
4557
<scope>test</scope>
4658
</dependency>
59+
4760
<dependency>
4861
<groupId>org.junit.jupiter</groupId>
4962
<artifactId>junit-jupiter-params</artifactId>
5063
<version>5.8.1</version>
5164
<scope>test</scope>
5265
</dependency>
66+
67+
<dependency>
68+
<groupId>org.junit.jupiter</groupId>
69+
<artifactId>junit-jupiter-engine</artifactId>
70+
<scope>test</scope>
71+
<version>5.8.2</version>
72+
</dependency>
5373
</dependencies>
5474

5575
</project>

src/main/java/net/quickwrite/fluent4j/FluentResource.java

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

src/main/java/net/quickwrite/fluent4j/ast/FluentAttribute.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@
77
* A FluentAttribute defines a subpart of a FluentMessage that holds more
88
* context data.<br>
99
*
10-
* <p>
1110
* <pre>
1211
* login-input = Predefined value
1312
* .placeholder = [email protected]
1413
* .aria-label = Login input value
1514
* .title = Type your login email
1615
* </pre>
17-
*
16+
* <p>
1817
* In this example the {@code login-input} has three different attributes:
19-
* A{@code placeholder} attribute, {@code aria-label} attribute, and a {@code title} attribute.
20-
* </p>
18+
* A {@code placeholder} attribute, {@code aria-label} attribute, and a {@code title} attribute.
2119
*/
2220
public class FluentAttribute extends FluentBase {
2321
/**
@@ -29,7 +27,7 @@ public class FluentAttribute extends FluentBase {
2927
* @param identifier The information that uniquely represents the Attribute.
3028
* @param content The content that needs to be parsed.
3129
*/
32-
public FluentAttribute(StringSlice identifier, StringSlice content, int whitespace) {
30+
public FluentAttribute(final StringSlice identifier, final StringSlice content, final int whitespace) {
3331
super(identifier, content, whitespace);
3432
}
3533

0 commit comments

Comments
 (0)