I hereby claim:
- I am jemarjones on github.
- I am jemarjones (https://keybase.io/jemarjones) on keybase.
- I have a public key ASDzxw2BwMFxpVHxSl7JkF0AMK5xu4kC1TqYEZYTabYokgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package okhttp3; | |
| import junit.framework.Assert; | |
| import org.junit.Test; | |
| public class ResponseBodyNeverNullTest { | |
| @Test | |
| public void responseBodyNeverNull() { | |
| Response testResponse = new Response.Builder() |
| #!/bin/bash | |
| # Requesting sudo if we don't have it already | |
| [ "$UID" -eq 0 ] || exec sudo bash "$0" "$@" | |
| if [[ -z "$1" ]]; then | |
| #Replace this with your default harddrive (list them all with "df -h") | |
| hd="/Volumes/Harddrive"; | |
| else | |
| hd=$1; |
| var fallback = function(options){ | |
| var numOfOptions = options.length; | |
| if (numOfOptions == 2){ | |
| return (options[0].length > 0)? options[0] : options[1]; | |
| }else if (numOfOptions > 2){ | |
| return fallback(options.slice(1)); | |
| }else if (numOfOptions == 1){ | |
| return options[0]; | |
| }else{ | |
| return $(); |