Technical debt - Fix PCE sonar issues
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / graph / PceGraphEdge.java
1 /*
2  * Copyright © 2017 AT&T, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.transportpce.pce.graph;
9
10 import org.jgrapht.graph.DefaultWeightedEdge;
11 import org.opendaylight.transportpce.pce.networkanalyzer.PceLink;
12
13 @SuppressWarnings("serial")
14 @edu.umd.cs.findbugs.annotations.SuppressFBWarnings(
15     value = "SE_NO_SERIALVERSIONID",
16     justification = "https://github.com/rzwitserloot/lombok/wiki/WHY-NOT:-serialVersionUID")
17 public class PceGraphEdge extends DefaultWeightedEdge {
18
19     private PceLink link;
20
21     public PceGraphEdge(PceLink link) {
22         super();
23         this.link = link;
24     }
25
26     public PceLink link() {
27         return link;
28     }
29
30 }