We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a1b30c7 + 0fdc37f commit 1a39e01Copy full SHA for 1a39e01
src/com/magento/idea/magento2uct/versioning/VersionStateManager.java
@@ -227,7 +227,8 @@ private void compute(final VersionStateIndex index) {
227
*/
228
private String escapeFqn(final @NotNull String fqn) {
229
return MagentoTypeEscapeUtil.escape(
230
- fqn.trim().charAt(0) == '\\' ? fqn.trim() : '\\' + fqn.trim()
+ !fqn.trim().isEmpty() && fqn.trim().charAt(0)
231
+ == '\\' ? fqn.trim() : '\\' + fqn.trim()
232
);
233
}
234
0 commit comments