Lines 154-161
Link Here
|
154 |
boolean hasHeaders = false; |
154 |
boolean hasHeaders = false; |
155 |
Bundle[] allBundles = bc.getBundles(); |
155 |
Bundle[] allBundles = bc.getBundles(); |
156 |
for (int i = 0; i < allBundles.length; i++) { |
156 |
for (int i = 0; i < allBundles.length; i++) { |
157 |
Dictionary allHeaders = allBundles[i].getHeaders(); |
157 |
if (allBundles[i].getHeaders("").get(ComponentConstants.SERVICE_COMPONENT) != null) { //$NON-NLS-1$ |
158 |
if (allHeaders.get(ComponentConstants.SERVICE_COMPONENT) != null) { |
|
|
159 |
hasHeaders = true; |
158 |
hasHeaders = true; |
160 |
break; |
159 |
break; |
161 |
} |
160 |
} |