Code example for LinkedList

Methods: add, get

0
	} 
 
	public void linkedListConcreteWriteReadNegativeTest() { 
		String tainted = TelephonyManager.getDeviceId();
		LinkedList<String> notRelevantList = new LinkedList<String>();
		LinkedList<String> list = new LinkedList<String>();
		list.add("neutral");
		notRelevantList.add(tainted);
		String taintedElement = notRelevantList.get(0);
		String untaintedElement = list.get(0);
		taintedElement.toString();
		ConnectionManager cm = new ConnectionManager();
		cm.publish(untaintedElement);
	} 
 
	public void linkedListWriteReadTest() { 
		String tainted = TelephonyManager.getDeviceId();
		List<String> list = new LinkedList<String>();
		list.add("neutral");
		list.add(tainted);