Repository navigation
Commit 0743dec
Extracted 'constraints' methods and renamed variables (eugenp#3580)
* Code for Dependency Injection Article.
* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.
* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.
* Moved project from roo to spring-roo folder.
* BAEL-838 Initial code showing how to remove last char - helper class and tests.
* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.
* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.
* BAEL-838 - Added regex method and updated tests.
* BAEL-838 Added new line examples.
* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.
* BAEL-838 Changed method names
* BAEL-838 Tiny change to keep code consistant. Return null or empty.
* BAEL-838 Removed unresolved conflict.
* BAEL-821 New class that shows different rounding techniques. Updated POM.
* BAEL-821 - Added unit test for different round methods.
* BAEL-821 Changed test method name to follow the convention
* BAEL-821 Added more test and updated round methods.
* BAEL-837 - initial commit. A few examples of adding doubles.
* BAEL-837 - Couple of smaller changes
* BAEL-837 - Added jUnit test.
* BAEL-579 Updated Spring Cloud Version
I was getting error: java.lang.NoSuchMethodError:
org.springframework.cloud.config.environment.Environment
After version update, all is okay.
* BAEL-579 Added actuator to Cloud Config Client.
* BAEL-579 Enabled cloud bus and updated dependencies.
* BAEL-579 Config Client using Spring Cloud Bus.
* BAEL-579 Recreated Basic Config Server.
* BAEL-579 Recreated Config Client.
* BAEL-579 Removed test Git URL.
* BAEL-579 Added Actuator to Config Client
* BAEL-579 Added Spring Cloud Bus to Client.
* BAEL-579 Server changes for Spring Cloud Bus
Added dependencies and removed git.clone-on-start as this was causing
server to throw errors after git properties change.
* BAEL-579 Removed Git URL.
* Revert "BAEL-579 Updated Spring Cloud Version"
This reverts commit f775bf9.
* Revert "BAEL-579 Config Client using Spring Cloud Bus."
This reverts commit 1d96bc5.
* Revert "BAEL-579 Enabled cloud bus and updated dependencies."
This reverts commit 7845da9.
* Revert "BAEL-579 Added actuator to Cloud Config Client."
This reverts commit 076657a.
* BAEL-579 Added missing dependency versions.
* BAEL-579 Added missing dependency versions.
* Updated gitignore
* BAEL-1065 Simple performance check StringBuffer vs StringBuilder.
* BAEL-1065 Added JMH benchmarks
* BAEL-1298 Sudoku - Backtracking Algorithm
* BAEL-1298 Sudoku - Backtracking Algorithm
* BAEL-1298 Dancing Links Algorithm. Smaller changes to Backtracking
* BAEL-1298 Resolve conflict - use most up-to-date POM
* Updated code - mostly with CONSTANTS. Extracted methods.
* Removed pointless Java8 code. Renamed constant
* Extracted 'constraints' methods and renamed coverBoard variable
* Extracted 'constraints' methods and renamed coverBoard variable1 parent 646e40d commit 0743dec
3 files changed
Lines changed: 47 additions & 34 deletions
File tree
- algorithms/src/main/java/com/baeldung/algorithms/sudoku
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
52 | 63 | | |
53 | 64 | | |
54 | 65 | | |
| 66 | + | |
| 67 | + | |
55 | 68 | | |
56 | | - | |
57 | | - | |
| 69 | + | |
| 70 | + | |
58 | 71 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
62 | 75 | | |
63 | 76 | | |
64 | 77 | | |
| 78 | + | |
| 79 | + | |
65 | 80 | | |
66 | | - | |
67 | | - | |
| 81 | + | |
| 82 | + | |
68 | 83 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
72 | 87 | | |
73 | 88 | | |
74 | 89 | | |
| 90 | + | |
| 91 | + | |
75 | 92 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
86 | 99 | | |
87 | 100 | | |
88 | 101 | | |
89 | | - | |
| 102 | + | |
90 | 103 | | |
91 | 104 | | |
92 | 105 | | |
93 | | - | |
| 106 | + | |
94 | 107 | | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
99 | 112 | | |
100 | | - | |
| 113 | + | |
101 | 114 | | |
102 | 115 | | |
103 | 116 | | |
104 | 117 | | |
105 | 118 | | |
106 | | - | |
| 119 | + | |
107 | 120 | | |
108 | 121 | | |
0 commit comments