Commit d356905
committed
#36 Use interface type instead of implementation in method signature
It should be avoided to use concrete implementations as types in an API,
if there is an interface because this gives the oportunity to switch
implementations at runtime w/o recompiling, whih is decoupling from
implementation details.
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>1 parent ef4c9ca commit d356905
File tree
1 file changed
+2
-2
lines changed- src/main/java/io/securecodebox/persistence/defectdojo/service
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments