Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
/** * Classes to compute and verify digital signatures. */ package net.oauth.signature;
16
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
2,660
github-java-corpus
2,012
/** * Classes to handle cryptographic data in PEM formats. */ package net.oauth.signature.pem;
18
github-java-corpus
2,012
/**************************************************************************** * Copyright (c) 1998-2009 AOL LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
1,397
github-java-corpus
2,012
/**************************************************************************** * Copyright (c) 1998-2009 AOL LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
911
github-java-corpus
2,012
/**************************************************************************** * Copyright (c) 1998-2009 AOL LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
789
github-java-corpus
2,012
/**************************************************************************** * Copyright (c) 1998-2009 AOL LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
1,009
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
359
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
537
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
680
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
2,836
github-java-corpus
2,012
/* * Copyright 2007, 2008 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
2,735
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,105
github-java-corpus
2,012
/** * Classes that integrate the Apache Commons HTTP Client version 3 with the OAuth library. */ package net.oauth.client.httpclient3;
27
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
796
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
203
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
945
github-java-corpus
2,012
/* * Copyright 2007 AOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
1,552
github-java-corpus
2,012
/* * Copyright 2007 AOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
612
github-java-corpus
2,012
/* * Copyright 2007 AOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
547
github-java-corpus
2,012
/* * Copyright 2007 AOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
486
github-java-corpus
2,012
/* * Copyright 2007 AOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
953
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
326
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
616
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
519
github-java-corpus
2,012
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
763
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
531
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
532
github-java-corpus
2,012
/* * Copyright 2007 AOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
596
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
218
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
495
github-java-corpus
2,012
package net.oauth.example.consumer.webapp; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.oauth.OAuth; /** * A trivial implementation of user authorizat...
202
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
833
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
428
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
554
github-java-corpus
2,012
/* * Copyright 2007 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
2,146
github-java-corpus
2,012
package net.oauth.example.desktop; import com.centerkey.utils.BareBonesBrowserLaunch; public class Get { public static void main(String[] args) throws Exception { for (String url : args) { BareBonesBrowserLaunch.browse(url); } } }
58
github-java-corpus
2,012
/* * Copyright 2009 John Kristian * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
450
github-java-corpus
2,012
/* * Copyright 2009 John Kristian * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
826
github-java-corpus
2,012
/* * Copyright 2009 John Kristian * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,690
github-java-corpus
2,012
package com.centerkey.utils; ///////////////////////////////////////////////////////// //Bare Bones Browser Launch // //Version 1.5 (December 10, 2005) // //By Dem Pilafian // //Supports: Mac OS X, GNU/Linux, Unix, Windows XP // ...
472
github-java-corpus
2,012
/* * Copyright 2008 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,080
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class WeightMeasurement { private String uri; // The URI for this measurement N ...
4,526
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NewSleepMeasurement { String timestamp; // The time at which the measurement was taken (e.g., "Sat, ...
1,519
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class User { private Integer userID; //The unique ID for the user N private String profile; // The URI ...
1,720
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class HeartRate { private Double timestamp; //The number of seconds since the start of the activity priva...
353
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class DiabetesMeasurementFeed { private Integer size; // The total number of ...
2,402
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class WGS84 { private Double timestamp; //The number of seconds since the start of the activity private D...
718
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NewBackgroundActivity { private String timestamp; //The timestamp (e.g., "Sat, 1 Jan 2011 00:00:00")...
523
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NutritionMeasurementFeed { private Integer size; // The total number of nu...
1,942
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class FitnessActivityFeed { @JsonSerialize(include = Inclusion.NON_NULL) publ...
1,393
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NewStrengthTrainingActivity { private String start_time; //The starting ti...
825
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class SleepMeasurement { private String uri; // The URI for this measurement pri...
4,678
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class StreetTeamInvite { private Integer userID; // The ID of the user to invite public StreetTeamInvite...
289
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class DiabetesMeasurement { private String uri; // The URI for this measurement ...
5,313
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class BackgroundActivity { private String uri; //The URI for this activity priv...
3,582
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class StreetTeamInviteReply { private String reply; // One of the following values: "accepted", "declined"...
301
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class FitnessActivity { public static class Distance { private Double timestam...
6,280
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NewFitnessActivity { private String type; //The type of activity, as one o...
1,760
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class SleepMeasurementFeed { private Integer size; // The total number of sleep ...
1,879
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NewGeneralMeasurement { private String timestamp; // The time at which the measurement was taken (e....
2,135
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class Stat { private String stat_type; // The type of statistic, as one of the following values: "BEST_ACT...
573
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class StrengthTrainingActivityFeed { public static class Item { private String...
948
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class GeneralMeasurement { private String uri; // The URI for this measurement N...
5,538
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NewDiabetesMeasurement { private String timestamp; // The time at which the measurement was taken (e...
1,956
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class StrengthTrainingActivity { private String uri; //The URI for this activit...
3,556
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class Profile { private String name; //The user's full name (omitted if not yet specified) private Strin...
1,737
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class StreetTeamMember { private String name; // The member's full name private String profile; // The UR...
520
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NutritionMeasurement { private String uri; // The URI for this measurement...
4,666
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class Exercise { public static class Set { private Double weight; //The weight...
1,827
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class Settings { private Boolean facebook_connected; //true if the user has connected to his/her Facebook ...
5,028
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class BackgroundActivityFeed { public static class Item { private String times...
1,196
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class PersonalRecord { private Stat[] stats; // The statistics for the a...
467
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class WeightMeasurementFeed { private Integer size; // The total number of weigh...
1,773
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NewNutritionMeasurement { private String timestamp; // The time at which the measurement was taken (...
1,535
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class NewWeightMeasurement { private String timestamp; // The time at which the measurement was taken (e...
1,296
github-java-corpus
2,012
package com.isobar.isohealth.models; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class GeneralMeasurementFeed { private Integer size; // The total number of general measurements across al...
2,407
github-java-corpus
2,012
package com.isobar.isohealth.models; import java.util.Arrays; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; @JsonSerialize(include = Inclusion.NON_NULL) public class StreetTeamMembershipFeed { private Integer size; // The total number of me...
1,036
github-java-corpus
2,012
package com.isobar.isohealth; import net.smartam.leeloo.client.OAuthClient; import net.smartam.leeloo.client.URLConnectionClient; import net.smartam.leeloo.client.request.OAuthClientRequest; import net.smartam.leeloo.client.response.OAuthJSONAccessTokenResponse; import net.smartam.leeloo.common.exception.OAuthProblemE...
419
github-java-corpus
2,012
package com.isobar.isohealth; import java.util.HashMap; import java.util.Map; public class _HttpResponseCodeToDelete { public enum HttpStatusCode { OK( 200, "Success!"), NOT_MODIFIED( 304, "The requested resource has not been modified since the time included in the If-Modified-Sinc...
454
github-java-corpus
2,012
package com.isobar.isohealth; import java.util.Scanner; import net.smartam.leeloo.client.OAuthClient; import net.smartam.leeloo.client.URLConnectionClient; import net.smartam.leeloo.client.request.OAuthClientRequest; import net.smartam.leeloo.client.response.OAuthJSONAccessTokenResponse; import net.smartam.leeloo.com...
575
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.Sett...
447
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.Prof...
447
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.User...
216
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.Gene...
812
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.Diab...
849
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.Pers...
257
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.Back...
801
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.NewS...
949
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.NewW...
806
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.Stre...
876
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import com.isobar.isohealth.wrappers.BackgroundActivityWrapper; import com.isobar.isohealth.wrappers.FitnessActivityWrapper; import com.isobar.isohealth.wrappers.ProfileWrapper; import com.isobar.isohealth.wrappers.SettingsWrapper; import com.isobar.isohealth.wrappers.StrengthTra...
383
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.NewN...
834
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.Fitn...
901
github-java-corpus
2,012
package com.isobar.isohealth.wrappers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import org.codehaus.jackson.map.ObjectMapper; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.NewS...
806
github-java-corpus
2,012
package com.isobar.isohealth; import java.util.HashMap; import java.util.Map; public class HttpResponseCode { public enum HttpStatusCode { OK( 200, "Success!"), NOT_MODIFIED( 304, "The requested resource has not been modified since the time included in the If-Modified-Since request...
452
github-java-corpus
2,012
package com.isobar.isohealth; public class GraphConstants { public static final String CLIENT_ID = "1f4fc840938f46278a9d019db93a8538"; public static final String CLIENT_SECRET = "ffbba1f04b75476cabfb4d87ef54e250"; public static final String AUTH_URL = "https://runkeeper.com/apps/authorize"; public static final St...
888
github-java-corpus
2,012
package test.com.isobar.isohealth; import java.util.ArrayList; import java.util.List; import junit.framework.TestCase; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.NewNutritionMeasurement; import com.isobar.isohealth.models.NutritionMeasurement; import com.isobar.isohealth.models.Nu...
655
github-java-corpus
2,012
package test.com.isobar.isohealth; import junit.framework.Test; import junit.framework.TestSuite; public class ServiceTests { public static Test suite() { TestSuite suite = new TestSuite(ServiceTests.class.getName()); //$JUnit-BEGIN$ suite.addTestSuite(BackgroundActivityServiceTest.class); suite.addTestSuit...
216
github-java-corpus
2,012
package test.com.isobar.isohealth; import junit.framework.TestCase; import com.isobar.isohealth.GraphConstants; import com.isobar.isohealth.models.User; import com.isobar.isohealth.wrappers.RunkeeperService; import com.isobar.isohealth.wrappers.UserWrapper; public class UserServiceTest extends TestCase { UserWrappe...
151