예제 #1
0
파일: View.java 프로젝트: alexkogon/jenkins
 /** Backward-compatible way of getting {@code getOwner().getItemGroup()} */
 public ItemGroup<? extends TopLevelItem> getOwnerItemGroup() {
   try {
     return owner.getItemGroup();
   } catch (AbstractMethodError e) {
     return Jenkins.getInstance();
   }
 }
예제 #2
0
파일: View.java 프로젝트: zlosch/jenkins
 /**
  * A pointless function to work around what appears to be a HotSpot problem. See JENKINS-5756 and
  * bug 6933067 on BugParade for more details.
  */
 private ItemGroup<? extends TopLevelItem> _getOwnerItemGroup() {
   return owner.getItemGroup();
 }