File tree Expand file tree Collapse file tree 6 files changed +2
-7
lines changed
aQute.libg/src/aQute/libg
biz.aQute.bndlib/src/aQute/bnd Expand file tree Collapse file tree 6 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -1160,7 +1160,7 @@ public Optional<MatchGroup> group(String name) {
1160
1160
}
1161
1161
String value = matcher .group (name );
1162
1162
if (value == null ) {
1163
- Optional .empty ();
1163
+ return Optional .empty ();
1164
1164
}
1165
1165
return Optional .of (new MatchGroupImpl (name , value ));
1166
1166
}
Original file line number Diff line number Diff line change @@ -204,7 +204,6 @@ public Welcome getWelcome(int highest) {
204
204
205
205
@ Override
206
206
public AreaImpl createArea (String areaId ) throws Exception {
207
- AreaImpl area = new AreaImpl ();
208
207
if (areaId == null ) {
209
208
int n = 1000 ;
210
209
while (!new File (areasDir , "" + n ).isDirectory ())
Original file line number Diff line number Diff line change @@ -280,7 +280,6 @@ public static SortedSet<EE> getEEsFromRequirement(String requirement) {
280
280
Parameters reqs = new Parameters (requirement );
281
281
SortedSet <EE > result = new TreeSet <>();
282
282
FilterParser fp = new FilterParser ();
283
- SortedSet <EE > all = all ();
284
283
285
284
for (Map .Entry <String , Attrs > e : reqs .entrySet ()) {
286
285
Attrs attrs = reqs .get (ExecutionEnvironmentNamespace .EXECUTION_ENVIRONMENT_NAMESPACE );
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ public ImportPattern clone() {
28
28
}
29
29
30
30
public static ImportPattern error (String msg ) {
31
- Attrs a = new Attrs ();
32
31
return new ImportPattern (msg , null );
33
32
}
34
33
Original file line number Diff line number Diff line change @@ -2671,7 +2671,7 @@ public boolean isPropertySet(Set<String> keys) {
2671
2671
return false ;
2672
2672
}
2673
2673
2674
- class Bracket {
2674
+ static class Bracket {
2675
2675
final List <RunnableWithException > atEnds = new ArrayList <>();
2676
2676
final Map <Class <?>, Object > data = new HashMap <>();
2677
2677
Original file line number Diff line number Diff line change 14
14
import java .util .ArrayList ;
15
15
import java .util .Collections ;
16
16
import java .util .LinkedHashMap ;
17
- import java .util .LinkedList ;
18
17
import java .util .List ;
19
18
import java .util .Map ;
20
19
import java .util .Map .Entry ;
@@ -525,7 +524,6 @@ public RequirementBuilder getNativeCode(String header) {
525
524
return null ;
526
525
527
526
boolean optional = false ;
528
- List <String > options = new LinkedList <>();
529
527
530
528
RequirementBuilder rb = new RequirementBuilder (NativeNamespace .NATIVE_NAMESPACE );
531
529
FilterBuilder sb = new FilterBuilder ();
You can’t perform that action at this time.
0 commit comments