/** * Generates an instance of the {@link DefaultRepositorySystemSession} and takes into account related properties */ private void generateSession() { this.session = this.system.getSession(getSettings(), this.useLegacyLocalRepository); if (this.disableClassPathWorkspaceReader) { ((DefaultRepositorySystemSession) this.session).setWorkspaceReader(null); } } }
/** * Generates an instance of the {@link DefaultRepositorySystemSession} and takes into account related properties */ private void generateSession() { this.session = this.system.getSession(getSettings(), this.useLegacyLocalRepository); if (this.disableClassPathWorkspaceReader) { ((DefaultRepositorySystemSession) this.session).setWorkspaceReader(null); } } }