mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
stupid SIOOBE (EA-39199 - SIOOBE: TemplateResource.getMethodBody)
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ public class TemplateResource implements Serializable {
|
||||
|
||||
// skip the starting and ending { }
|
||||
final String trimmed = s.trim();
|
||||
return trimmed.substring(1, s.length() - 1);
|
||||
return trimmed.substring(1, trimmed.length() - 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user