Commit 0c7956a
committed
Refactor Converter layers
Refactors AbstractConverter and DefaultConverter to take into account
the new NullConverter and the migration of boilerplate to
AbstractConverter.
Key points:
* Control flow at the abstract layer attempts to preserve the Type if
given, as this contains information that can be lost in a Class.
* Removed several delegating method implementations from DefaultConverter1 parent 14a1183 commit 0c7956a
File tree
2 files changed
+15
-41
lines changed- src/main/java/org/scijava/convert
2 files changed
+15
-41
lines changedLines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | | - | |
70 | 73 | | |
71 | | - | |
72 | | - | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
83 | | - | |
84 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 106 | + | |
| 107 | + | |
109 | 108 | | |
110 | | - | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 64 | | |
75 | 65 | | |
76 | 66 | | |
| |||
80 | 70 | | |
81 | 71 | | |
82 | 72 | | |
83 | | - | |
84 | | - | |
| 73 | + | |
85 | 74 | | |
86 | 75 | | |
87 | 76 | | |
| |||
125 | 114 | | |
126 | 115 | | |
127 | 116 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 117 | | |
141 | 118 | | |
142 | 119 | | |
| |||
167 | 144 | | |
168 | 145 | | |
169 | 146 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 147 | | |
174 | 148 | | |
175 | 149 | | |
| |||
0 commit comments