"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/main/java/hudson/scm/SCMDescriptor.java" between
jenkins-jenkins-2.280.tar.gz and jenkins-jenkins-2.281.tar.gz

About: Jenkins is a automation server (written in Java) which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software (for e.g. as Continuous Integration and Continuous Delivery server). Weekly release.

SCMDescriptor.java  (jenkins-jenkins-2.280):SCMDescriptor.java  (jenkins-jenkins-2.281)
skipping to change at line 83 skipping to change at line 83
} }
/** /**
* Incremented every time a new {@link SCM} instance is created from this de scriptor. * Incremented every time a new {@link SCM} instance is created from this de scriptor.
* This is used to invalidate cache of {@link SCM#getEffectiveBrowser}. Due to the lack of synchronization and serialization, * This is used to invalidate cache of {@link SCM#getEffectiveBrowser}. Due to the lack of synchronization and serialization,
* this field doesn't really count the # of instances created to date, * this field doesn't really count the # of instances created to date,
* but it's good enough for the cache invalidation. * but it's good enough for the cache invalidation.
* @deprecated No longer used by default. * @deprecated No longer used by default.
*/ */
@Deprecated @Deprecated
@Restricted(NoExternalUse.class) @RestrictedSince("TODO") @Restricted(NoExternalUse.class) @RestrictedSince("2.209")
public int getGeneration() { public int getGeneration() {
return atomicGeneration.get(); return atomicGeneration.get();
} }
/** /**
* Increments the generation value {@link SCMDescriptor#getGeneration} by on e atomically. * Increments the generation value {@link SCMDescriptor#getGeneration} by on e atomically.
* @deprecated No longer used by default. * @deprecated No longer used by default.
*/ */
@Deprecated @Deprecated
@Restricted(NoExternalUse.class) @RestrictedSince("TODO") @Restricted(NoExternalUse.class) @RestrictedSince("2.209")
public void incrementGeneration() { public void incrementGeneration() {
atomicGeneration.incrementAndGet(); atomicGeneration.incrementAndGet();
} }
// work around HUDSON-4514. The repositoryBrowser field was marked as non-tr ansient until 1.325, // work around HUDSON-4514. The repositoryBrowser field was marked as non-tr ansient until 1.325,
// causing the field to be persisted and overwritten on the load method. // causing the field to be persisted and overwritten on the load method.
@SuppressWarnings({"ConstantConditions"}) @SuppressWarnings({"ConstantConditions"})
@Override @Override
public void load() { public void load() {
Class<? extends RepositoryBrowser> rb = repositoryBrowser; Class<? extends RepositoryBrowser> rb = repositoryBrowser;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)