Passed
Push — master ( 549d98...451709 )
by John
01:28
created

br.ufrj.ppgi.greco.kettle.silk.Prefixes   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 5
c 1
b 0
f 1
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A add(Prefix) 0 2 1
1
package br.ufrj.ppgi.greco.kettle.silk;
2
3
import java.util.ArrayList;
4
import java.util.List;
5
6
import javax.xml.bind.annotation.XmlElement;
7
import javax.xml.bind.annotation.XmlRootElement;
8
9
@XmlRootElement
10
public class Prefixes {
11
	
12
	@XmlElement(name = "Prefix")
13
	private List<Prefix> prefixes = new ArrayList<>();
14
	
15
	public void add(Prefix prefix){
16
		this.prefixes.add(prefix);
17
	}
18
}