Committed by
Gerrit Code Review
Cleanup of AbstractPathService
Introduced in 45920dde Change-Id: I02ed4b2a38fc60d4c86781e7b4eec4637c3892d4
Showing
2 changed files
with
24 additions
and
28 deletions
1 | /* | 1 | /* |
2 | + * Copyright 2016-present Open Networking Laboratory | ||
2 | * | 3 | * |
3 | - * * Copyright 2016-present Open Networking Laboratory | 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
4 | - * * | 5 | + * you may not use this file except in compliance with the License. |
5 | - * * Licensed under the Apache License, Version 2.0 (the "License"); | 6 | + * You may obtain a copy of the License at |
6 | - * * you may not use this file except in compliance with the License. | ||
7 | - * * You may obtain a copy of the License at | ||
8 | - * * | ||
9 | - * * http://www.apache.org/licenses/LICENSE-2.0 | ||
10 | - * * | ||
11 | - * * Unless required by applicable law or agreed to in writing, software | ||
12 | - * * distributed under the License is distributed on an "AS IS" BASIS, | ||
13 | - * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
14 | - * * See the License for the specific language governing permissions and | ||
15 | - * * limitations under the License. | ||
16 | * | 7 | * |
8 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | + * | ||
10 | + * Unless required by applicable law or agreed to in writing, software | ||
11 | + * distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | + * See the License for the specific language governing permissions and | ||
14 | + * limitations under the License. | ||
17 | */ | 15 | */ |
18 | - | ||
19 | package org.onosproject.net.topology; | 16 | package org.onosproject.net.topology; |
20 | 17 | ||
21 | import com.google.common.collect.ImmutableSet; | 18 | import com.google.common.collect.ImmutableSet; |
22 | import com.google.common.collect.Lists; | 19 | import com.google.common.collect.Lists; |
23 | import com.google.common.collect.Sets; | 20 | import com.google.common.collect.Sets; |
21 | +import org.apache.felix.scr.annotations.Component; | ||
24 | import org.apache.felix.scr.annotations.Reference; | 22 | import org.apache.felix.scr.annotations.Reference; |
25 | import org.apache.felix.scr.annotations.ReferenceCardinality; | 23 | import org.apache.felix.scr.annotations.ReferenceCardinality; |
26 | import org.onosproject.net.ConnectPoint; | 24 | import org.onosproject.net.ConnectPoint; |
... | @@ -49,6 +47,7 @@ import static com.google.common.base.Preconditions.checkNotNull; | ... | @@ -49,6 +47,7 @@ import static com.google.common.base.Preconditions.checkNotNull; |
49 | /** | 47 | /** |
50 | * Helper class for path service. | 48 | * Helper class for path service. |
51 | */ | 49 | */ |
50 | +@Component(componentAbstract = true) | ||
52 | public abstract class AbstractPathService { | 51 | public abstract class AbstractPathService { |
53 | 52 | ||
54 | private static final String ELEMENT_ID_NULL = "Element ID cannot be null"; | 53 | private static final String ELEMENT_ID_NULL = "Element ID cannot be null"; | ... | ... |
1 | /* | 1 | /* |
2 | + * Copyright 2016-present Open Networking Laboratory | ||
2 | * | 3 | * |
3 | - * * Copyright 2016-present Open Networking Laboratory | 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
4 | - * * | 5 | + * you may not use this file except in compliance with the License. |
5 | - * * Licensed under the Apache License, Version 2.0 (the "License"); | 6 | + * You may obtain a copy of the License at |
6 | - * * you may not use this file except in compliance with the License. | ||
7 | - * * You may obtain a copy of the License at | ||
8 | - * * | ||
9 | - * * http://www.apache.org/licenses/LICENSE-2.0 | ||
10 | - * * | ||
11 | - * * Unless required by applicable law or agreed to in writing, software | ||
12 | - * * distributed under the License is distributed on an "AS IS" BASIS, | ||
13 | - * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
14 | - * * See the License for the specific language governing permissions and | ||
15 | - * * limitations under the License. | ||
16 | * | 7 | * |
8 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | + * | ||
10 | + * Unless required by applicable law or agreed to in writing, software | ||
11 | + * distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | + * See the License for the specific language governing permissions and | ||
14 | + * limitations under the License. | ||
17 | */ | 15 | */ |
18 | - | ||
19 | package org.onosproject.incubator.net.virtual.impl; | 16 | package org.onosproject.incubator.net.virtual.impl; |
20 | 17 | ||
21 | import org.onosproject.incubator.net.virtual.VirtualNetwork; | 18 | import org.onosproject.incubator.net.virtual.VirtualNetwork; | ... | ... |
-
Please register or login to post a comment