public void commit ( ) throws Exception { final Map < String , Object > params = new HashMap < String , Object > ( ) ; final String applicationId = getPropertyAsString ( "applicationId" ) ; if ( applicationId != null ) params . put ( "applicationId" , applicationId ) ; final String name = getName ( ) ; if ( name != null ) params . put ( "name" , name ) ; final String fallbackNumber = getFallbackNumber ( ) ; if ( fallbackNumber != null ) params . put ( "fallbackNumber" , fallbackNumber ) ; final String uri = getUri ( ) ; client . post ( uri , params ) ; final JSONObject object = toJSONObject ( client . get ( uri , null ) ) ; updateProperties ( object ) ; }
Makes changes to a number you have .