Messaging: Fix javadoc

Change-Id: Ia1b0a8fa9a5e74078a68a55ca1953b6f085521b1
This commit is contained in:
Michael W
2024-12-26 15:54:37 +01:00
parent e29b158fba
commit 5403d02b5d
46 changed files with 20 additions and 170 deletions
@@ -30,9 +30,6 @@ import java.io.IOException;
abstract class MmsXmlResourceParser {
/**
* Parse the content
*
* @throws IOException
* @throws XmlPullParserException
*/
protected abstract void parseRecord() throws IOException, XmlPullParserException;
@@ -87,10 +84,7 @@ abstract class MmsXmlResourceParser {
/**
* Move XML parser forward to next event type or the end of doc
*
* @param eventType
* @return The final event type we meet
* @throws XmlPullParserException
* @throws IOException
*/
protected int advanceToNextEvent(int eventType) throws XmlPullParserException, IOException {
for (;;) {
-3
View File
@@ -99,9 +99,6 @@ class Utils {
/**
* Redact the URL for non-VERBOSE logging. Replace url with only the host part and the length
* of the input URL string.
*
* @param urlString
* @return
*/
static String redactUrlForNonVerbose(String urlString) {
if (Log.isLoggable(MmsService.TAG, Log.VERBOSE)) {
@@ -140,7 +140,6 @@ public class CharacterSets {
*
* @param mibEnumValue An IANA assigned MIBEnum number.
* @return The name string of the charset.
* @throws UnsupportedEncodingException
*/
public static String getMimeName(int mibEnumValue)
throws UnsupportedEncodingException {
@@ -156,7 +155,6 @@ public class CharacterSets {
*
* @param mimeName The charset name.
* @return The MIBEnum number assigned by IANA for this charset.
* @throws UnsupportedEncodingException
*/
public static int getMibEnumValue(String mimeName)
throws UnsupportedEncodingException {
@@ -507,8 +507,6 @@ public class PduHeaders {
*
* @param value the value
* @param field the field
* @return the TextString value of the pdu header
* with specified header field
* @throws NullPointerException if the value is null.
*/
protected void setTextString(byte[] value, int field) {
@@ -573,8 +571,6 @@ public class PduHeaders {
*
* @param value the value
* @param field the field
* @return the EncodedStringValue value of the pdu header
* with specified header field
* @throws NullPointerException if the value is null.
*/
protected void setEncodedStringValue(EncodedStringValue value, int field) {
@@ -610,8 +606,6 @@ public class PduHeaders {
*
* @param value the value
* @param field the field
* @return the EncodedStringValue value array of the pdu header
* with specified header field
* @throws NullPointerException if the value is null.
*/
protected void setEncodedStringValues(EncodedStringValue[] value, int field) {
@@ -311,7 +311,7 @@ public class PduParser {
case PduHeaders.CONTENT_CLASS:
case PduHeaders.RETRIEVE_STATUS:
case PduHeaders.STORE_STATUS:
/**
/*
* The following field has a different value when
* used in the M-Mbox-Delete.conf and M-Delete.conf PDU.
* For now we ignore this fact, since we do not support these PDUs
@@ -381,7 +381,7 @@ public class PduParser {
case PduHeaders.AUX_APPLIC_ID:
case PduHeaders.APPLIC_ID:
case PduHeaders.REPLY_APPLIC_ID:
/**
/*
* The next three header fields are email addresses
* as defined in RFC2822,
* not including the characters "<" and ">"
@@ -389,7 +389,7 @@ public class PduParser {
case PduHeaders.MESSAGE_ID:
case PduHeaders.REPLACE_ID:
case PduHeaders.CANCEL_ID:
/**
/*
* The following field has a different value when
* used in the M-Mbox-Delete.conf and M-Delete.conf PDU.
* For now we ignore this fact, since we do not support these PDUs