1 29 package net.sourceforge.groboutils.pmti.v1.itf.impl; 30 31 import net.sourceforge.groboutils.pmti.v1.itf.ITestIssueRecordSet; 32 import net.sourceforge.groboutils.pmti.v1.itf.ITestIssueRecord; 33 34 35 36 37 44 public class DefaultTestIssueRecordSet implements ITestIssueRecordSet 45 { 46 private ITestIssueRecord tir[]; 47 48 49 public DefaultTestIssueRecordSet( ITestIssueRecord tir[] ) 50 { 51 if (tir == null) 52 { 53 this.tir = new ITestIssueRecord[0]; 54 } 55 else 56 { 57 this.tir = new ITestIssueRecord[ tir.length ]; 58 System.arraycopy( tir, 0, this.tir, 0, tir.length ); 59 } 60 } 61 62 63 66 public ITestIssueRecord[] getTestIssueRecords() 67 { 68 ITestIssueRecord[] ret = new ITestIssueRecord[ this.tir.length ]; 69 System.arraycopy( this.tir, 0, ret, 0, this.tir.length ); 70 return ret; 71 } 72 73 } 74 75 | Popular Tags |