Commit 4f00174
Simplify TextProvider, Fix all @text ending with space
This commit simplifies TextProvider to be a lot clearer and also avoid swallowing an unnecessary exception.
Furthermore, it changes its behaviour so that created text does not always have a space at the end. Usually, people don't mean to add an unnecessary space at the end of their text argument if they don't put more text.
The motivation for this commit is that I am currently experiencing the space problem in my usage of this library.
Thanks!1 parent 6026dbc commit 4f00174
File tree
1 file changed
+6
-19
lines changed- intake/src/main/java/com/sk89q/intake/parametric/provider
1 file changed
+6
-19
lines changedLines changed: 6 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
49 | 39 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
56 | 43 | | |
57 | 44 | | |
58 | 45 | | |
0 commit comments