Buggy code:
public class MGWTSettings { public static class ViewPort { public enum DENSITY { LOW ( "low-dpi" ) , MEDIUM ( "medium-dpi" ) , HIGH ( "high-dpi" ) , DEVICE ( "device-dpi" ) ; private final String value ; private DENSITY ( String value ) { } public String getValue ( ) { } } private String width ; private String height ; private double initialScale = 1 ; private double minimumScale = 1 ; private double maximumScale = 1 ; private boolean userScaleAble = false ; private String targetDensity ; public MGWTSettings . ViewPort setWidth ( int value ) { } public MGWTSettings . ViewPort setHeight ( int value ) { } public MGWTSettings . ViewPort setWidthToDeviceWidth ( ) { } public MGWTSettings . ViewPort setHeightToDeviceHeight ( ) { } public MGWTSettings . ViewPort setTargetDensity ( int value ) { } public MGWTSettings . ViewPort setTargetDensity ( MGWTSettings . ViewPort . DENSITY d ) { } public MGWTSettings . ViewPort setUserScaleAble ( boolean userScaleAble ) { } public MGWTSettings . ViewPort setMinimumScale ( double minimumScale ) { } public MGWTSettings . ViewPort setMaximumScale ( double maximumScale ) { } public MGWTSettings . ViewPort setInitialScale ( double initialScale ) { } public String getContent ( ) { StringBuffer buffer = new StringBuffer ( ) ; buffer . append ( ( "initial-scale=" + ( initialScale ) ) ) ; buffer . append ( ( ",minimum-scale=" + ( minimumScale ) ) ) ; buffer . append ( ( ",maximum-scale=" + ( maximumScale ) ) ) ; if ( ( width ) != null ) { <START_BUG> buffer . append ( ( "width=" + ( width ) ) ) ; <END_BUG> } if ( ( height ) != null ) { buffer . append ( ( ",height=" + ( height ) ) ) ; } if ( ! ( userScaleAble ) ) { buffer . append ( ",user-scalable=no" ) ; } if ( ( ( targetDensity ) != null ) && ( MGWT . getOsDetection ( ) . isAndroid ( ) ) ) { buffer . append ( ( ",target-density=" + ( targetDensity ) ) ) ; } return buffer . toString ( ) ; } } public enum StatusBarStyle { DEFAULT , BLACK , BLACK_TRANSLUCENT ; } private MGWTSettings . ViewPort viewPort ; private boolean gloss ; private String iconUrl ; private String startUrl ; private boolean fullscreen ; private String statusBar ; private boolean preventScrolling ; private boolean disablePhoneNumberDetection ; private MGWTSettings . StatusBarStyle statusBarStyle ; public MGWTSettings . ViewPort getViewPort ( ) { } public void setViewPort ( MGWTSettings . ViewPort viewPort ) { } public boolean isAddGlosToIcon ( ) { } public void setAddGlosToIcon ( boolean gloss ) { } public String getIconUrl ( ) { } public void setIconUrl ( String url ) { } public String getStartUrl ( ) { } public void setStartUrl ( String startUrl ) { } public boolean isFullscreen ( ) { } public void setFullscreen ( boolean fullscreen ) { } public String getStatusBar ( ) { } public void setStatusBar ( String statusBar ) { } public boolean isPreventScrolling ( ) { } public void setPreventScrolling ( boolean preventScrolling ) { } public void setDisablePhoneNumberDetection ( boolean disablePhoneNumberDetection ) { } public boolean isDisablePhoneNumberDetection ( ) { } public void setStatusBarStyle ( MGWTSettings . StatusBarStyle statusBarStyle ) { } public MGWTSettings . StatusBarStyle getStatusBarStyle ( ) { } }

Fix:
buffer . append ( ( ",width=" + ( width ) ) ) ;