From 0cf967c0239a8ab9c8b8831b700b72d9a08f7b03 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 16 Oct 2020 13:09:11 +0100 Subject: Remove apex asciidoc documents Apex documentation has now all been ported to use the ONAP recommended rst format. This review removes the old asciidoc documents. Issue-ID: POLICY-2824 Change-Id: I562bd344cb7d6ff36e7d54bdb8f95e3b656468f8 Signed-off-by: liamfallon --- .../40-use-eclipse-source-operations.adoc | 48 ---------------------- 1 file changed, 48 deletions(-) delete mode 100644 src/site-docs/adoc/fragments/howto-codestyle/40-use-eclipse-source-operations.adoc (limited to 'src/site-docs/adoc/fragments/howto-codestyle/40-use-eclipse-source-operations.adoc') diff --git a/src/site-docs/adoc/fragments/howto-codestyle/40-use-eclipse-source-operations.adoc b/src/site-docs/adoc/fragments/howto-codestyle/40-use-eclipse-source-operations.adoc deleted file mode 100644 index 6ead28a7f..000000000 --- a/src/site-docs/adoc/fragments/howto-codestyle/40-use-eclipse-source-operations.adoc +++ /dev/null @@ -1,48 +0,0 @@ -// -// ============LICENSE_START======================================================= -// Copyright (C) 2016-2018 Ericsson. All rights reserved. -// ================================================================================ -// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE -// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode -// -// SPDX-License-Identifier: CC-BY-4.0 -// ============LICENSE_END========================================================= - -== Use Eclipse Source Operations - -Eclipse Source Operations can be carried out on individual files or on all the files in a package but do not recurse into sub-packages. -They are available as a menu in Eclipse by selecting a file or package and right clicking on __Source__. -Note that running __Clean Up...__ with the Apex clean up profile will run __Format__ and __Organize Imports__. -So if you run a clean up on a file or package, you need not run __Format__ or __Organize Imports__. - -We recommend you use the following Eclipse Source Operations: - -. __Format__ applies the current format definition to the file or all files in a package -. __Organize Imports__ sorts the imports on each file in standard order -. __Clean Up__ runs a number of cleaning operations on each file. The Apex clean up template - ** Remove `this` qualifier for non static field accesses - ** Change non static accesses to static members using declaring type - ** Change indirect accesses to static members to direct accesses (accesses through subtypes) - ** Convert control statement bodies to block - ** Convert `for` loops to enhanced `for` loops - ** Add final modifier to private fields - ** Add final modifier to local variables - ** Remove unused imports - ** Remove unused private methods - ** Remove unused private constructors - ** Remove unused private types - ** Remove unused private fields - ** Remove unused local variables - ** Add missing `@Override` annotations - ** Add missing `@Override` annotations to implementations of interface methods - ** Add missing `@Deprecated` annotations - ** Add missing serial version ID (generated) - ** Remove unnecessary casts - ** Remove unnecessary `$NON-NLS$` tags - ** Organize imports - ** Format source code - ** Remove trailing white spaces on all lines - ** Correct indentation - ** Remove redundant type arguments - ** Add file header (JAutodoc) - -- cgit 1.2.3-korg