mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8330178: Clean up non-standard use of /** comments in java.base
Reviewed-by: darcy, iris, dfuchs, aivanov, naoto
This commit is contained in:
parent
88a5dcead2
commit
9cc163a999
23 changed files with 78 additions and 84 deletions
|
@ -23,15 +23,15 @@
|
|||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Plain text file handler.
|
||||
* @author Steven B. Byrne
|
||||
*/
|
||||
package sun.net.www.content.text;
|
||||
import java.net.*;
|
||||
import java.io.InputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Plain text file handler.
|
||||
* @author Steven B. Byrne
|
||||
*/
|
||||
public class plain extends ContentHandler {
|
||||
/**
|
||||
* Returns a PlainTextInputStream object from which data
|
||||
|
|
|
@ -23,12 +23,6 @@
|
|||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Open an file input stream given a URL.
|
||||
* @author James Gosling
|
||||
* @author Steven B. Byrne
|
||||
*/
|
||||
|
||||
package sun.net.www.protocol.file;
|
||||
|
||||
import java.net.URL;
|
||||
|
@ -40,6 +34,11 @@ import sun.net.www.*;
|
|||
import java.util.*;
|
||||
import java.text.SimpleDateFormat;
|
||||
|
||||
/**
|
||||
* Open a file input stream given a URL.
|
||||
* @author James Gosling
|
||||
* @author Steven B. Byrne
|
||||
*/
|
||||
public class FileURLConnection extends URLConnection {
|
||||
|
||||
private static final String CONTENT_LENGTH = "content-length";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
|
@ -65,7 +65,7 @@ public abstract class AbstractDelegateHttpsURLConnection extends
|
|||
|
||||
protected abstract javax.net.ssl.HostnameVerifier getHostnameVerifier();
|
||||
|
||||
/**
|
||||
/*
|
||||
* No user application is able to call these routines, as no one
|
||||
* should ever get access to an instance of
|
||||
* DelegateHttpsURLConnection (sun.* or com.*)
|
||||
|
|
|
@ -23,12 +23,12 @@
|
|||
* questions.
|
||||
*/
|
||||
|
||||
package sun.nio.ch;
|
||||
|
||||
/**
|
||||
* An object that interrupts a thread blocked in an I/O operation.
|
||||
*/
|
||||
|
||||
package sun.nio.ch;
|
||||
|
||||
public interface Interruptible {
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,16 +23,15 @@
|
|||
* questions.
|
||||
*/
|
||||
|
||||
package sun.security.pkcs;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Generic PKCS Parsing exception.
|
||||
*
|
||||
* @author Benjamin Renaud
|
||||
*/
|
||||
|
||||
package sun.security.pkcs;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class ParsingException extends IOException {
|
||||
|
||||
@java.io.Serial
|
||||
|
|
|
@ -25,6 +25,17 @@
|
|||
|
||||
package sun.security.provider;
|
||||
|
||||
import java.security.*;
|
||||
import java.io.*;
|
||||
import java.util.Properties;
|
||||
import java.util.Enumeration;
|
||||
import java.net.*;
|
||||
import java.nio.file.DirectoryStream;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Random;
|
||||
import sun.security.util.Debug;
|
||||
|
||||
/**
|
||||
* This class generates seeds for the SHA1PRNG cryptographically strong
|
||||
* random number generator.
|
||||
|
@ -66,17 +77,6 @@ package sun.security.provider;
|
|||
* @author Gadi Guy
|
||||
*/
|
||||
|
||||
import java.security.*;
|
||||
import java.io.*;
|
||||
import java.util.Properties;
|
||||
import java.util.Enumeration;
|
||||
import java.net.*;
|
||||
import java.nio.file.DirectoryStream;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Random;
|
||||
import sun.security.util.Debug;
|
||||
|
||||
abstract class SeedGenerator {
|
||||
|
||||
// Static instance is created at link time
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
* questions.
|
||||
*/
|
||||
|
||||
package sun.security.util;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
/**
|
||||
* ByteArrayTagOrder: a class for comparing two DER encodings by the
|
||||
|
@ -31,10 +34,6 @@
|
|||
* @author D. N. Hoover
|
||||
*/
|
||||
|
||||
package sun.security.util;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
public class ByteArrayTagOrder implements Comparator<byte[]> {
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,16 +23,15 @@
|
|||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* IOUtils: A collection of IO-related public static methods.
|
||||
*/
|
||||
|
||||
package sun.security.util;
|
||||
|
||||
import java.io.EOFException;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
* IOUtils: A collection of IO-related public static methods.
|
||||
*/
|
||||
public class IOUtils {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue