Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Classes with Underscores in their Name

$
0
0

Hi,

 

I am in the process of upgrading from 9.1 M070 to 10.2 M020.

 

My company use a lot of custom classes. All of these have compiled successfully - thankfully. However one reported a warning because the following method is now deprecated (and this doesnt appear in the latest Javadoc, no reference of the method does and certainly no reference of what to use instead):

 

wt.change2.VersionableChangeItem.getCreator();

 

Now when I look at "wt.change2._VersionableChangeItem" there is another "getCreator()" method that the above seems to override. I think I can use this method. However, this begs the question, what is the point of the underscore classes? Are we supposed / "allowed" to use them - in some programming languages (e.g. Python) prefixing "_" is another way of saying "please leave well alone"?

 

Regards,

Toby


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>