Re: ? about removing a deprecation..
Is this a similar sort of change for switching some of the File to Path type operation as in FileObject mentioned in the below ticket? https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2409 (https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2409?filter=allissues) Eric Bresie ebre...@gmail.com > On May 8, 2019 at 5:01:46 PM CDT, Brad Walker wrote: > I see a lot of the following warnings when building.. > > > ... > > [repeat] > > /home/bwalker/src/netbeans-11.0-test/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/query/J2eePlatformJavadocForBinaryQuery.java:180: > > warning: [deprecation] getURL() in FileObject has been deprecated > > [repeat] normalizedURL = fo.getURL(); > > ... > > > > In looking at the code for FileObject, it seems like a straightforward > change. > > Since there are approx. 160 instances of code like this, should this change > be as simple as I think it should be? > > If so, I'm make the effort to change it.. 8-) > > Thanks. > > -brad w.
Re: ? about removing a deprecation..
Yes that sounds good, make sure things still work afterwards, i.e., start up NetBeans, do some work, maybe for a day or so, to see whether there are any side effects. Gj On Thu, May 9, 2019 at 12:02 AM Brad Walker wrote: > I see a lot of the following warnings when building.. > > > ... > >[repeat] > > > /home/bwalker/src/netbeans-11.0-test/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/query/J2eePlatformJavadocForBinaryQuery.java:180: > > warning: [deprecation] getURL() in FileObject has been deprecated > >[repeat] normalizedURL = fo.getURL(); > > ... > > > > In looking at the code for FileObject, it seems like a straightforward > change. > > Since there are approx. 160 instances of code like this, should this change > be as simple as I think it should be? > > If so, I'm make the effort to change it.. 8-) > > Thanks. > > -brad w. >
? about removing a deprecation..
I see a lot of the following warnings when building.. ... >[repeat] > /home/bwalker/src/netbeans-11.0-test/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/query/J2eePlatformJavadocForBinaryQuery.java:180: > warning: [deprecation] getURL() in FileObject has been deprecated >[repeat] normalizedURL = fo.getURL(); > ... > In looking at the code for FileObject, it seems like a straightforward change. Since there are approx. 160 instances of code like this, should this change be as simple as I think it should be? If so, I'm make the effort to change it.. 8-) Thanks. -brad w.