| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> | |
| <html> | |
| <head> | |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
| <meta http-equiv="Content-Style-Type" content="text/css"> | |
| <title> | |
| Code clean up | |
| </title> | |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> | |
| </head> | |
| <body> | |
| <h1> | |
| Code clean up | |
| </h1> | |
| <p> | |
| The <strong>Clean Up</strong> action can be executed on a single Java file, a Java package, a Java project or on multiple projects | |
| by selecting the Java elements and executing <strong>Source > Clean Up...</strong> | |
| </p> | |
| <p> | |
| The <strong>Clean Up</strong> action allows to enforce a code style standard on multiple files or on a whole project. It also | |
| allows to apply quick fixes in batch to remove warnings, potential programming problems, unnecessary or unused code. | |
| </p> | |
| <p> | |
| The clean up settings are stored in <strong>Clean Up</strong> profiles. Each project can specify the default profile to | |
| apply when <strong>Clean Up</strong> is invoked on one of its files. If a project does not specify a profile, the workspace default | |
| profile is used. | |
| </p> | |
| </body> | |
| </html> | |