#!/bin/sh # # Tries to upgrade from V0.2 to V0.3 # # Those methods that have changed their signature are marked with the # comment /* NEEDS WORK */ # # Usage: upgrade < OldCode.java > NewCode.java # sed -e ' s/\/AuthSchemeNotImplException/g s/\/ProtocolNotSuppException/g s/\/Util.getParameter/g s/\/HTTPClient.&/g s/\/HTTPClient.&/g s/\/HTTPClient.&/g s/\/AuthorizationInfo\.addAuthorizationInfo \/* NEEDS WORK *\/ /g s/\