if (_gp == null) { System.err.println("AmmoTransport:  Error!  AmmoTransport not properly initialized: setGenericPlugin not called."); return null; }  if ((source == null) || (dest == null)) { System.err.println("AmmoTransport:  Error!  AmmoTransport not properly initialized: some parameter(s) are null."); return null; }  Asset milvan = makeMilvan(); if (milvan == null) { return null; }  NewMPTask task = _gp.getGPFactory().newMPTask(); task.setVerb(Constants.Verb.Transport);  task.setPriority(Priority.UNDEFINED);  task.setDirectObject(milvan);  Vector preps = new Vector(2);  NewPrepositionalPhrase fromPrepositionalPhrase = _gp.getGPFactory().newPrepositionalPhrase(); fromPrepositionalPhrase.setPreposition(Constants.Preposition.FROM); fromPrepositionalPhrase.setIndirectObject(source); preps.addElement(fromPrepositionalPhrase);  NewPrepositionalPhrase toPrepositionalPhrase = _gp.getGPFactory().newPrepositionalPhrase(); toPrepositionalPhrase = _gp.getGPFactory().newPrepositionalPhrase(); toPrepositionalPhrase.setPreposition(Constants.Preposition.TO); toPrepositionalPhrase.setIndirectObject(dest); preps.addElement(toPrepositionalPhrase);  task.setPrepositionalPhrases(preps.elements());  return task;
if (_gp == null) { System.err.println("AmmoTransport:  Error!  AmmoTransport not properly initialized: setGenericPlugin not called."); return null;
    public NewMPTask newTask() {      if (_gp == null) {	System.err.println("AmmoTransport:  Error!  AmmoTransport not properly initialized: setGenericPlugin not called.");	return null;      }      if ((source == null) ||           (dest == null)) {	System.err.println("AmmoTransport:  Error!  AmmoTransport not properly initialized: some parameter(s) are null.");	return null;      }      Asset milvan = makeMilvan();      if (milvan == null) {        return null;      }      NewMPTask task = _gp.getGPFactory().newMPTask();      task.setVerb(Constants.Verb.Transport);      task.setPriority(Priority.UNDEFINED);      task.setDirectObject(milvan);          Vector preps = new Vector(2);      NewPrepositionalPhrase fromPrepositionalPhrase =         _gp.getGPFactory().newPrepositionalPhrase();      fromPrepositionalPhrase.setPreposition(Constants.Preposition.FROM);      fromPrepositionalPhrase.setIndirectObject(source);      preps.addElement(fromPrepositionalPhrase);      NewPrepositionalPhrase toPrepositionalPhrase =         _gp.getGPFactory().newPrepositionalPhrase();      toPrepositionalPhrase = _gp.getGPFactory().newPrepositionalPhrase();      toPrepositionalPhrase.setPreposition(Constants.Preposition.TO);      toPrepositionalPhrase.setIndirectObject(dest);      preps.addElement(toPrepositionalPhrase);      task.setPrepositionalPhrases(preps.elements());      return task;    }