File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 354354 </module >
355355 <module name =" RegexpSingleline" >
356356 <property name =" severity" value =" error" />
357- <property name =" format" value =" throw new " />
357+ <property name =" format" value =" throw new RuntimeExc " />
358358 <property name =" message" value =" Use `throw runtimeException('Error Message')` or `throw exception('Error message')`" />
359359 <property name =" id" value =" MatcherThrowingExceptions_Error" />
360360 <property name =" fileExtensions" value =" java" />
Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ public UIElement iCore() {
122122 @ Override
123123 @ JDIAction ("Get '{name}' text value" )
124124 public String getValue () {
125-
126125 return iCore ().getText ();
127126 }
128127
@@ -140,7 +139,6 @@ public int size() {
140139
141140 @ JDIAction ("Get '{name}' check list" )
142141 public WebList checkList () {
143-
144142 return new WebList ();
145143 }
146144
@@ -352,7 +350,7 @@ public void refresh() {
352350
353351 @ Override
354352 public void clear () {
355- throw new UnsupportedOperationException ( );
353+ throw runtimeException ( "Clear operation is not supported by TreeViewNode" );
356354 }
357355
358356 protected TreeViewNode create (UIElement base ) {
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ public void groupBy(String colName) {
202202 return ;
203203 }
204204 }
205-
205+ // @todo add a public method to check if grouping by column is available
206206 //check if it is already grouped by
207207 if (groups .isEmpty ()) {
208208 throw runtimeException (String .format ("Grouping by column '%s' is not available" , colName ));
You can’t perform that action at this time.
0 commit comments