Project

General

Profile

« Previous | Next » 

Revision bb7d8484

Added by Leszek Koltunski over 8 years ago

Minor cleanup.

View differences:

src/main/java/org/distorted/library/type/Dynamic1D.java
73 73
    {
74 74
    if( vn==null )
75 75
      {
76
      vn = new Vector<VectorNoise>();
76
      vn = new Vector<>();
77 77
      for(int i=0; i<numPoints; i++) vn.add(new VectorNoise());
78 78
      }
79 79
    }
src/main/java/org/distorted/library/type/Dynamic2D.java
80 80
    {
81 81
    if( vn==null )
82 82
      {
83
      vn = new Vector<VectorNoise>();
83
      vn = new Vector<>();
84 84
      for(int i=0; i<numPoints; i++) vn.add(new VectorNoise());
85 85
      }
86 86
    }
src/main/java/org/distorted/library/type/Dynamic3D.java
87 87
    {
88 88
    if( vn==null )
89 89
      {  
90
      vn = new Vector<VectorNoise>();
90
      vn = new Vector<>();
91 91
      for(int i=0; i<numPoints; i++) vn.add(new VectorNoise());
92 92
      }
93 93
    }
src/main/java/org/distorted/library/type/Dynamic4D.java
93 93
    {
94 94
    if( vn==null )
95 95
      {  
96
      vn = new Vector<VectorNoise>();
96
      vn = new Vector<>();
97 97
      for(int i=0; i<numPoints; i++) vn.add(new VectorNoise());
98 98
      }
99 99
    }

Also available in: Unified diff