Skip to content

Commit

Permalink
FISH-9771 copyright amendment, removed unused import.
Browse files Browse the repository at this point in the history
  • Loading branch information
NotedSalmon committed Sep 26, 2024
1 parent 488abb9 commit 7300fe7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

import com.sun.enterprise.config.serverbeans.customvalidators.*;
import com.sun.enterprise.config.util.ConfigApiLoggerInfo;
import com.sun.enterprise.universal.security.SecurityUtils;
import com.sun.enterprise.util.LocalStringManagerImpl;
import com.sun.enterprise.util.io.FileUtils;
import org.glassfish.api.ActionReport;
Expand Down Expand Up @@ -74,10 +75,8 @@
import jakarta.validation.constraints.Pattern;
import java.beans.PropertyVetoException;
import java.io.File;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,13 @@
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;


import com.sun.enterprise.universal.security.SecurityUtils;
import org.jvnet.hk2.annotations.Service;
import org.glassfish.api.Param;
import org.glassfish.api.admin.*;
import static com.sun.enterprise.admin.cli.CLIConstants.*;
import com.sun.enterprise.util.io.FileUtils;
import java.io.FileInputStream;
import java.security.SecureRandom;
import org.glassfish.admin.payload.PayloadImpl;
import org.glassfish.admin.payload.PayloadFilesManager.Perm;
import org.glassfish.hk2.api.PerLookup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* only if the new code is made subject to such option by the copyright
* holder.
*/
// Portions Copyright [2019] Payara Foundation and/or affiliates
// Portions Copyright [2019-2024] Payara Foundation and/or affiliates

package com.sun.enterprise.universal.security;

Expand All @@ -51,11 +51,11 @@ public final class SecurityUtils {

private static SecureRandom random = new SecureRandom();

private static int nextInt() {
public static int nextInt() {
return random.nextInt();
}

private static int nextInt(int bound) {
public static int nextInt(int bound) {
return random.nextInt(bound);
}

Expand Down

0 comments on commit 7300fe7

Please sign in to comment.