java.util.ArrayList



Project JetBrains/intellij-community in file ...ntellij.execution.ui.layout.impl.GridCellImpl.java (2010-04-27)
@@ -47,6 +47,7 @@ import javax.swing.border.EmptyBorder;
 import java.awt.*;
 import java.awt.event.MouseAdapter;
 import java.awt.event.MouseEvent;
+import java.util.ArrayList;
 import java.util.Set;
 
 public class GridCellImpl implements GridCell, Disposable {
@@ -248,6 +249,8 @@ public class GridCellImpl implements GridCell, Disposable {
   }
 
   public java.util.List<SwitchTarget> getTargets(boolean onlyVisible) {
+    if (myTabs.getPresentation().isHideTabs()) return new ArrayList<SwitchTarget>();
+
     return myTabs.getTargets(onlyVisible, false);
   }
 
Project JetBrains/intellij-community in file ...deInsight.template.emmet.tokens.TemplateToken.java (2013-01-31)
@@ -19,12 +19,15 @@ import com.intellij.codeInsight.template.impl.TemplateImpl;
 import com.intellij.openapi.util.Pair;
 import com.intellij.psi.xml.XmlFile;
 
+import java.util.ArrayList;
 import java.util.List;
 
 /**
  * @author Eugene.Kudelevsky
  */
 public class TemplateToken extends ZenCodingToken {
+  public final static TemplateToken EMPTY_TEMPLATE_TOKEN = new TemplateToken("", new ArrayList<Pair<String, String>>());
+
   private final String myKey;
   private TemplateImpl myTemplate;
   private final List<Pair<String, String>> myAttribute2Value;
Project antlr/antlr4 in file ...ntime.tree.xpath.XPathWildcardAnywhereElement.java (2013-09-13)
@@ -3,6 +3,7 @@ package org.antlr.v4.runtime.tree.xpath;
 import org.antlr.v4.runtime.tree.ParseTree;
 import org.antlr.v4.runtime.tree.Trees;
 
+import java.util.ArrayList;
 import java.util.Collection;
 
 public class XPathWildcardAnywhereElement extends XPathElement {
@@ -12,6 +13,7 @@ public class XPathWildcardAnywhereElement extends XPathElement {
 
 	@Override
 	public Collection<ParseTree> evaluate(ParseTree t) {
+		if ( invert ) return new ArrayList<ParseTree>(); // !* is weird but valid (empty)
 		return Trees.descendants(t);
 	}
 }
Project bigbluebutton/bigbluebutton in file ...va.org.bigbluebutton.conference.IRoomListener.java (2011-12-08)
@@ -19,11 +19,13 @@
 
 package org.bigbluebutton.conference;
 
+import java.util.ArrayList;
+
 public interface IRoomListener {
 	public String getName();
 	public void participantStatusChange(Long userid, String status, Object value);
 	public void participantJoined(Participant participant);
 	public void participantLeft(Long userid);
-	
+	public void assignPresenter(ArrayList<String> presenter);
 	public void endAndKickAll();
 }
\ No newline at end of file
Project cgeo/cgeo in file ...c83407bda8befc50e08/src.cgeo.geocaching.cgLog.java (2011-08-01)
@@ -1,5 +1,7 @@
 package cgeo.geocaching;
 
+import java.util.ArrayList;
+
 public class cgLog {
 	public int id = 0;
 	public int type = 4; // note
@@ -7,6 +9,7 @@ public class cgLog {
 	public String log = "";
 	public long date = 0;
 	public int found = -1;
+	public ArrayList<cgImage> logImages = null;
 	public String cacheName = ""; // used for trackables
 	public String cacheGuid = ""; // used for trackables
 }