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 354
354
</module >
355
355
<module name =" RegexpSingleline" >
356
356
<property name =" severity" value =" error" />
357
- <property name =" format" value =" throw new " />
357
+ <property name =" format" value =" throw new RuntimeExc " />
358
358
<property name =" message" value =" Use `throw runtimeException('Error Message')` or `throw exception('Error message')`" />
359
359
<property name =" id" value =" MatcherThrowingExceptions_Error" />
360
360
<property name =" fileExtensions" value =" java" />
Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ public UIElement iCore() {
122
122
@ Override
123
123
@ JDIAction ("Get '{name}' text value" )
124
124
public String getValue () {
125
-
126
125
return iCore ().getText ();
127
126
}
128
127
@@ -140,7 +139,6 @@ public int size() {
140
139
141
140
@ JDIAction ("Get '{name}' check list" )
142
141
public WebList checkList () {
143
-
144
142
return new WebList ();
145
143
}
146
144
@@ -352,7 +350,7 @@ public void refresh() {
352
350
353
351
@ Override
354
352
public void clear () {
355
- throw new UnsupportedOperationException ( );
353
+ throw runtimeException ( "Clear operation is not supported by TreeViewNode" );
356
354
}
357
355
358
356
protected TreeViewNode create (UIElement base ) {
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ public void groupBy(String colName) {
202
202
return ;
203
203
}
204
204
}
205
-
205
+ // @todo add a public method to check if grouping by column is available
206
206
//check if it is already grouped by
207
207
if (groups .isEmpty ()) {
208
208
throw runtimeException (String .format ("Grouping by column '%s' is not available" , colName ));
You can’t perform that action at this time.
0 commit comments