Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2012-2015 ForgeRock AS.
* Portions Copyrighted 2026 3A Systems, LLC
*/

package org.forgerock.doc.maven.build;
Expand Down Expand Up @@ -110,8 +111,6 @@ void prepareOlinkDB() throws MojoExecutionException {
cfg.add(element(name("targetsFilename"), m.getDocumentSrcName() + ".html.target.db"));

final String base = FilenameUtils.getBaseName(m.getDocumentSrcName());
final String chunkBaseDir = m.path(m.getDocbkxOutputDirectory())
+ "/html/" + docName + "/" + base + "/";
//cfg.add(element(name("chunkBaseDir"), chunkBaseDir));

executeMojo(
Expand Down Expand Up @@ -150,8 +149,6 @@ void build() throws MojoExecutionException {
cfg.add(element(name("includes"), docName + "/" + m.getDocumentSrcName()));

final String base = FilenameUtils.getBaseName(m.getDocumentSrcName());
final String chunkBaseDir = m.path(m.getDocbkxOutputDirectory())
+ "/html/" + docName + "/" + base + "/";
//cfg.add(element(name("chunkBaseDir"), chunkBaseDir));

cfg.add(element(name("manifest"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2013-2015 ForgeRock AS.
* Portions Copyrighted 2026 3A Systems, LLC
*/

package org.forgerock.doc.maven.utils;
Expand Down Expand Up @@ -76,7 +77,6 @@ public static void resizePng(final File image)
final int imageHeight = getHeight(image);
final int newWidth = 700;

String absolutePath = image.getAbsolutePath();

/** File thumbFile = new File(absolutePath.substring(0, absolutePath
.lastIndexOf(File.separator)) + File.separator + "thumb_"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2015 ForgeRock AS.
* Portions Copyrighted 2026 3A Systems, LLC
*/

package org.forgerock.http.apache.async;
Expand Down Expand Up @@ -195,7 +196,6 @@ public HttpClient newHttpClient(final Options options) throws HttpApplicationExc
}

// Apply proxy settings if necessary
AuthenticationStrategy proxyStrategy = NoAuthenticationStrategy.INSTANCE;
ProxyAuthenticationStrategy proxyAuthenticationStrategy = null;

// Read the proxy info from options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* Copyright 2009 Sun Microsystems Inc.
* Portions Copyright 2010–2011 ApexIdentity Inc.
* Portions Copyright 2011-2015 ForgeRock AS.
* Portions Copyrighted 2026 3A Systems, LLC
*/

package org.forgerock.http.apache.sync;
Expand Down Expand Up @@ -132,7 +133,6 @@ public HttpClient newHttpClient(final Options options) throws HttpApplicationExc
asArrayOrNull(ciphers), hostnameVerifier));

// Apply proxy settings if necessary
AuthenticationStrategy proxyStrategy = NoAuthenticationStrategy.INSTANCE;
ProxyAuthenticationStrategy proxyAuthenticationStrategy = null;

// Read the proxy info from options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2016 ForgeRock AS.
* Portions Copyrighted 2026 3A Systems, LLC
*/

package org.forgerock.api.markup.asciidoc;
Expand Down Expand Up @@ -280,7 +281,6 @@ public AsciiDoc blockTitle(final String title) {
* @return Doc builder
*/
public AsciiDoc sectionTitle(final String title, final int level) {
final AsciiDocSymbols symbol;
// @Checkstyle:off
switch (level) {
case 1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,10 @@ protected void runTask() {
final long startTimestamp = _persistit.getTimestampAllocator().updateTimestamp();
try {
final ArrayList<Volume> volumes = new ArrayList<Volume>();
long _totalPages = 0;

for (final Volume volume : _persistit.getVolumes()) {
if (_treeSelector.isSelected(volume)) {
volumes.add(volume);
_totalPages += volume.getStorage().getNextAvailablePage();
}
}
Volume previousVolume = null;
Expand Down
4 changes: 1 addition & 3 deletions persistit/doc/build/src/AsciiDocIndex.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Portions Copyrighted 2026 3A Systems, LLC
*/

import java.io.File;
Expand Down Expand Up @@ -172,7 +173,6 @@ private void indexOneTerm(final String wholeTag, String href, final String url,
String category = "Class";
if (title.startsWith("interface"))
category = "Interface";
final int pSlash = href.lastIndexOf('/', pHtml - 1);
// String className = href.substring(pSlash + 1, pHtml);
final String className = href.substring(0, pHtml).replace('/', '.');
saveTerm(category, className, url);
Expand All @@ -191,7 +191,6 @@ private void indexOneTerm(final String wholeTag, String href, final String url,
//
final String uCaseName = name.toUpperCase();
final String category = name.equals(uCaseName) ? "Constant" : "Field";
final String displayText = name + " in " + className;
saveTerm(category, name, url);
return;
} else {
Expand All @@ -210,7 +209,6 @@ private void indexOneTerm(final String wholeTag, String href, final String url,
// String term = name.substring(0, pLeftParen);
String term = (href.substring(0, pHtml) + href.substring(pHtml + 5)).replace('/', '.');
saveTerm("Method", term, url);
final String displayText = name + " in " + className;
if (name.startsWith("get") && paramList.length() == 0 || name.startsWith("is")
&& paramList.length() == 0 || name.startsWith("set") && paramList.length() > 0
&& paramList.indexOf(',') == -1) {
Expand Down
2 changes: 1 addition & 1 deletion persistit/examples/FindFile/FindFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Portions Copyrighted 2026 3A Systems, LLC
*/

import java.awt.BorderLayout;
Expand Down Expand Up @@ -205,7 +206,6 @@ private void doSearch() {
sb.append("$");
final Pattern pattern = Pattern.compile(sb.toString());

final DefaultListModel model = (DefaultListModel) list.getModel();
//
// Substring that precedes the first wildcard character. For example,
// if the input is "/opt/*java", the prefix is "/opt/".
Expand Down
2 changes: 1 addition & 1 deletion persistit/examples/SimpleDemo/SimpleDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Portions Copyrighted 2026 3A Systems, LLC
*/

import java.io.BufferedReader;
Expand Down Expand Up @@ -65,7 +66,6 @@ public static void main(String[] args) throws Exception {
System.out.println();
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

boolean done = false;
int count = 0;
while (true) {
System.out.print("Name: ");
Expand Down
5 changes: 1 addition & 4 deletions persistit/ui/src/main/java/com/persistit/ui/AdminUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Portions Copyrighted 2026 3A Systems, LLC
*/

package com.persistit.ui;
Expand Down Expand Up @@ -576,10 +577,6 @@ private void setupTabbedPanes() {
final StringTokenizer st = new StringTokenizer(paneSpecification, ":");
final String className = st.nextToken();
final String caption = st.nextToken();
String iconName = null;
if (st.hasMoreTokens()) {
iconName = st.nextToken();
}
try {
final Class cl = Class.forName(className);
final AdminPanel panel = (AdminPanel) cl.newInstance();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Portions Copyrighted 2026 3A Systems, LLC
*/

package com.persistit.ui;
Expand Down Expand Up @@ -81,10 +82,6 @@ private void setupTabbedPanes() {
final StringTokenizer st = new StringTokenizer(paneSpecification, ":");
final String className = st.nextToken();
final String caption = st.nextToken();
String iconName = null;
if (st.hasMoreTokens()) {
iconName = st.nextToken();
}
try {
final Class cl = Class.forName(className);
final AbstractInspector panel = (AbstractInspector) cl.newInstance();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ private synchronized void receiveData(final Fetcher fetcher) {

final int oldOffset = _offset;
int newOffset = oldOffset;
final int oldRowCount = _currentRowCount;
int firstUpdatedRow;
int lastUpdatedRow;

int lost = 0; // rows lost from row cache
int kept = _valid; // rows kept from row cache
Expand Down Expand Up @@ -263,7 +261,6 @@ private synchronized void receiveData(final Fetcher fetcher) {
System.arraycopy(fetcher._resultRows, cut, _infoArray, kept, count - cut);

firstUpdatedRow = newOffset + kept;
lastUpdatedRow = firstUpdatedRow + count - cut - 1;

if (count < fetcher._requestedCount) {
changeRowCount(newOffset + newValid, true);
Expand Down Expand Up @@ -291,7 +288,6 @@ private synchronized void receiveData(final Fetcher fetcher) {
System.arraycopy(fetcher._resultRows, 0, _infoArray, 0, count - cut);

firstUpdatedRow = newOffset;
lastUpdatedRow = firstUpdatedRow + count - cut - 1;

if (count < fetcher._requestedCount) {
_definite = false;
Expand Down
Loading