瀏覽代碼

remove javaDoc <p>

AndyScherzinger 8 年之前
父節點
當前提交
4144cae6d5
共有 1 個文件被更改,包括 23 次插入23 次删除
  1. 23 23
      src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

+ 23 - 23
src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -8,16 +8,16 @@
  * Copyright (C) 2012  Bartek Przybylski
  * Copyright (C) 2012  Bartek Przybylski
  * Copyright (C) 2015 ownCloud Inc.
  * Copyright (C) 2015 ownCloud Inc.
  * Copyright (C) 2017 Mario Danic
  * Copyright (C) 2017 Mario Danic
- * <p>
+ *
  * This program is free software: you can redistribute it and/or modify
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2,
  * it under the terms of the GNU General Public License version 2,
  * as published by the Free Software Foundation.
  * as published by the Free Software Foundation.
- * <p>
+ *
  * This program is distributed in the hope that it will be useful,
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  * GNU General Public License for more details.
- * <p>
+ *
  * You should have received a copy of the GNU General Public License
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  *
@@ -235,7 +235,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * {@inheritDoc}
      * {@inheritDoc}
-     * <p>
+     *
      * IMPORTANT ENTRY POINT 1: activity is shown to the user
      * IMPORTANT ENTRY POINT 1: activity is shown to the user
      */
      */
     @Override
     @Override
@@ -698,11 +698,11 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Saves relevant state before {@link #onPause()}
      * Saves relevant state before {@link #onPause()}
-     * <p>
+     *
      * Do NOT save {@link #mNewCapturedUriFromOAuth2Redirection}; it keeps a temporal flag,
      * Do NOT save {@link #mNewCapturedUriFromOAuth2Redirection}; it keeps a temporal flag,
      * intended to defer the processing of the redirection caught in
      * intended to defer the processing of the redirection caught in
      * {@link #onNewIntent(Intent)} until {@link #onResume()}
      * {@link #onNewIntent(Intent)} until {@link #onResume()}
-     * <p>
+     *
      * See {@link super#onSaveInstanceState(Bundle)}
      * See {@link super#onSaveInstanceState(Bundle)}
      */
      */
     @Override
     @Override
@@ -782,7 +782,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
     /**
     /**
      * The redirection triggered by the OAuth authentication server as response to the
      * The redirection triggered by the OAuth authentication server as response to the
      * GET AUTHORIZATION request is caught here.
      * GET AUTHORIZATION request is caught here.
-     * <p>
+     *
      * To make this possible, this activity needs to be qualified with android:launchMode =
      * To make this possible, this activity needs to be qualified with android:launchMode =
      * "singleTask" in the AndroidManifest.xml file.
      * "singleTask" in the AndroidManifest.xml file.
      */
      */
@@ -925,11 +925,11 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Handles changes in focus on the text input for the server URL.
      * Handles changes in focus on the text input for the server URL.
-     * <p>
+     *
      * IMPORTANT ENTRY POINT 2: When (!hasFocus), user wrote the server URL and changed to
      * IMPORTANT ENTRY POINT 2: When (!hasFocus), user wrote the server URL and changed to
      * other field. The operation to check the existence of the server in the entered URL is
      * other field. The operation to check the existence of the server in the entered URL is
      * started.
      * started.
-     * <p>
+     *
      * When hasFocus:    user 'comes back' to write again the server URL.
      * When hasFocus:    user 'comes back' to write again the server URL.
      */
      */
     private void onUrlInputFocusLost() {
     private void onUrlInputFocusLost() {
@@ -1001,9 +1001,9 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Handles changes in focus on the text input for the password (basic authorization).
      * Handles changes in focus on the text input for the password (basic authorization).
-     * <p>
+     *
      * When (hasFocus), the button to toggle password visibility is shown.
      * When (hasFocus), the button to toggle password visibility is shown.
-     * <p>
+     *
      * When (!hasFocus), the button is made invisible and the password is hidden.
      * When (!hasFocus), the button is made invisible and the password is hidden.
      *
      *
      * @param hasFocus 'True' if focus is received, 'false' if is lost
      * @param hasFocus 'True' if focus is received, 'false' if is lost
@@ -1057,13 +1057,13 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
     /**
     /**
      * Checks the credentials of the user in the root of the ownCloud server
      * Checks the credentials of the user in the root of the ownCloud server
      * before creating a new local account.
      * before creating a new local account.
-     * <p>
+     *
      * For basic authorization, a check of existence of the root folder is
      * For basic authorization, a check of existence of the root folder is
      * performed.
      * performed.
-     * <p>
+     *
      * For OAuth, starts the flow to get an access token; the credentials test
      * For OAuth, starts the flow to get an access token; the credentials test
      * is postponed until it is available.
      * is postponed until it is available.
-     * <p>
+     *
      * IMPORTANT ENTRY POINT 4
      * IMPORTANT ENTRY POINT 4
      */
      */
     public void onOkClick() {
     public void onOkClick() {
@@ -1179,7 +1179,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Callback method invoked when a RemoteOperation executed by this Activity finishes.
      * Callback method invoked when a RemoteOperation executed by this Activity finishes.
-     * <p>
+     *
      * Dispatches the operation flow to the right method.
      * Dispatches the operation flow to the right method.
      */
      */
     @Override
     @Override
@@ -1581,7 +1581,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Processes the result of the access check performed to try the user credentials.
      * Processes the result of the access check performed to try the user credentials.
-     * <p>
+     *
      * Creates a new account through the AccountManager.
      * Creates a new account through the AccountManager.
      *
      *
      * @param result Result of the operation.
      * @param result Result of the operation.
@@ -1654,10 +1654,10 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Updates the authentication token.
      * Updates the authentication token.
-     * <p>
+     *
      * Sets the proper response so that the AccountAuthenticator that started this activity
      * Sets the proper response so that the AccountAuthenticator that started this activity
      * saves a new authorization token for mAccount.
      * saves a new authorization token for mAccount.
-     * <p>
+     *
      * Kills the session kept by OwnCloudClientManager so that a new one will created with
      * Kills the session kept by OwnCloudClientManager so that a new one will created with
      * the new credentials when needed.
      * the new credentials when needed.
      */
      */
@@ -1707,9 +1707,9 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Creates a new account through the Account Authenticator that started this activity.
      * Creates a new account through the Account Authenticator that started this activity.
-     * <p>
+     *
      * This makes the account permanent.
      * This makes the account permanent.
-     * <p>
+     *
      * TODO Decide how to name the OAuth accounts
      * TODO Decide how to name the OAuth accounts
      */
      */
     @SuppressFBWarnings("DMI")
     @SuppressFBWarnings("DMI")
@@ -1889,7 +1889,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Called when the eye icon in the password field is clicked.
      * Called when the eye icon in the password field is clicked.
-     * <p>
+     *
      * Toggles the visibility of the password in the field.
      * Toggles the visibility of the password in the field.
      */
      */
     public void onViewPasswordClick() {
     public void onViewPasswordClick() {
@@ -1906,7 +1906,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Called when the checkbox for OAuth authorization is clicked.
      * Called when the checkbox for OAuth authorization is clicked.
-     * <p>
+     *
      * Hides or shows the input fields for user & password.
      * Hides or shows the input fields for user & password.
      *
      *
      * @param view 'View password' 'button'
      * @param view 'View password' 'button'
@@ -1924,7 +1924,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
 
 
     /**
     /**
      * Called when the 'action' button in an IME is pressed ('enter' in software keyboard).
      * Called when the 'action' button in an IME is pressed ('enter' in software keyboard).
-     * <p>
+     *
      * Used to trigger the authentication check when the user presses 'enter' after writing the
      * Used to trigger the authentication check when the user presses 'enter' after writing the
      * password, or to throw the server test when the only field on screen is the URL input field.
      * password, or to throw the server test when the only field on screen is the URL input field.
      */
      */