8330178: Clean up non-standard use of /** comments in java.base

Reviewed-by: darcy, iris, dfuchs, aivanov, naoto
This commit is contained in:
Jonathan Gibbons 2024-04-23 18:43:36 +00:00
parent 88a5dcead2
commit 9cc163a999
23 changed files with 78 additions and 84 deletions

View file

@ -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

View file

@ -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";

View file

@ -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.*)