headexprent is always single-element
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -52,7 +52,7 @@ public class IfStatement extends Statement {
|
||||
|
||||
private boolean iffflag;
|
||||
|
||||
private final List<Exprent> headexprent = new ArrayList<>(); // contains IfExprent
|
||||
private final List<Exprent> headexprent = new ArrayList<>(1); // contains IfExprent
|
||||
|
||||
// *****************************************************************************
|
||||
// constructors
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -45,7 +45,7 @@ public class SwitchStatement extends Statement {
|
||||
|
||||
private StatEdge default_edge;
|
||||
|
||||
private final List<Exprent> headexprent = new ArrayList<>();
|
||||
private final List<Exprent> headexprent = new ArrayList<>(1);
|
||||
|
||||
// *****************************************************************************
|
||||
// constructors
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -32,7 +32,7 @@ public class SynchronizedStatement extends Statement {
|
||||
|
||||
private Statement body;
|
||||
|
||||
private final List<Exprent> headexprent = new ArrayList<>();
|
||||
private final List<Exprent> headexprent = new ArrayList<>(1);
|
||||
|
||||
// *****************************************************************************
|
||||
// constructors
|
||||
|
||||
Reference in New Issue
Block a user