Commit 712c127
committed
Cleanup: minor fixes.
* ScmSyncGitCheckInCommand: typo in a code path that is never taken
in this plugin (it always calls checkIn with only a directory, no
files).
* Commit: check for user != null. Is that null check needed at all?
* FixedGitStatusConsumer: use simpler & more efficient File.replace()
instead of File.replaceAll(). File.separator is guaranteed to be the
single character File.separatorChar per its contract.1 parent 78a71d8 commit 712c127
File tree
3 files changed
+6
-6
lines changed- src/main/java/hudson/plugins/scm_sync_configuration
- model
- scms/customproviders/git/gitexe
3 files changed
+6
-6
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments