This is an automated email from the ASF dual-hosted git repository. tmysik pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 16c3b4b [NETBEANS-5108] Use complete Composer package name new a712b28 Merge pull request #2583 from KacerCZ/netbeans-5108-full-package-name 16c3b4b is described below commit 16c3b4bd23a9315afb205d28c9b85a70638b2421 Author: Tomas Prochazka <ka...@razdva.cz> AuthorDate: Mon Dec 7 21:04:12 2020 +0100 [NETBEANS-5108] Use complete Composer package name https://issues.apache.org/jira/browse/NETBEANS-5108 Full name of Composer package name is used in Usages window and File selector. --- .../src/org/netbeans/modules/php/composer/PhpProjectConvertor.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/php/php.composer/src/org/netbeans/modules/php/composer/PhpProjectConvertor.java b/php/php.composer/src/org/netbeans/modules/php/composer/PhpProjectConvertor.java index 854fe58..8eb768a 100644 --- a/php/php.composer/src/org/netbeans/modules/php/composer/PhpProjectConvertor.java +++ b/php/php.composer/src/org/netbeans/modules/php/composer/PhpProjectConvertor.java @@ -103,12 +103,7 @@ public final class PhpProjectConvertor implements ProjectConvertor { assert content != null; Object name = content.get("name"); // NOI18N if (name instanceof String) { - String fullName = (String) name; - String[] parts = fullName.split("/", 2); // NOI18N - if (parts.length == 2) { - return parts[1]; - } - return fullName; + return (String) name; } return null; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists