Ignore:
Timestamp:
2016-08-06T19:21:33+02:00 (4 years ago)
Author:
Don-vip
Message:

sonar - squid:S00100 - Method names should comply with a naming convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java

    r10467 r10748  
    500500     * @return correct angle
    501501     */
    502     private static double standard_angle_0_to_2PI(double a) {
     502    private static double standardAngle0to2PI(double a) {
    503503        while (a >= 2 * Math.PI) {
    504504            a -= 2 * Math.PI;
     
    515515     * @return correct angle
    516516     */
    517     private static double standard_angle_mPI_to_PI(double a) {
     517    private static double standardAngleMPItoPI(double a) {
    518518        while (a > Math.PI) {
    519519            a -= 2 * Math.PI;
     
    572572     */
    573573    private static int angleToDirectionChange(double a, double deltaMax) throws RejectedAngleException {
    574         a = standard_angle_mPI_to_PI(a);
     574        a = standardAngleMPItoPI(a);
    575575        double d0 = Math.abs(a);
    576576        double d90 = Math.abs(a - Math.PI / 2);
     
    584584            dirChange = -1;
    585585        } else {
    586             a = standard_angle_0_to_2PI(a);
     586            a = standardAngle0to2PI(a);
    587587            double d180 = Math.abs(a - Math.PI);
    588588            if (d180 < deltaMax) {
Note: See TracChangeset for help on using the changeset viewer.