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 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.util;
import org.junit.Test;
import junit.framework.Assert;
public class TIntArrayListTest
{
@Test
public void testGet()
{
final TIntArrayList list = new TIntArrayList();
list.add( 1... | 369 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.util;
import org.junit.Test;
import junit.framework.TestCase;
/**
* Created by IntelliJ IDEA.
* User: rmh
* Date: Sep 29, 2010
* Time: 10:00:22 AM
*/
public class URLUtilsTest
extends TestCase
{
@... | 269 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.util;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertFalse;
public class UUIDGeneratorTest
{
@Test
public void testUnique()
{
... | 133 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.util;
import java.util.GregorianCalendar;
import java.util.TimeZone;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
import junit.framewor... | 547 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.util;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Apr 16, 2009
*/
public class BatchedListTest
{
@Test
public void testGetNextBat... | 898 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.hibernate.support;
import junit.framework.TestCase;
public class SelectBuilderTest
extends TestCase
{
public void testAddColumns()
{
StringBuffer hql = new StringBuffer();
SelectBu... | 1,834 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.hibernate.support;
import java.util.ArrayList;
import java.util.List;
import junit.framework.TestCase;
public class InClauseBuilderTest
extends TestCase
{
public void testAppendNoValues()
{
... | 1,107 |
github-java-corpus | 2,012 | package com.enonic.cms.framework.cache.base;
import org.junit.Before;
import org.junit.Test;
import java.util.Properties;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
public class CacheManagerConfigTest
{
private CacheManagerConfig managerConfig;
@Before
pu... | 240 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.cache.standard;
import java.util.Random;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import junit.framework.TestCase;
public class StandardCacheConcurrencyTest
extends TestCase
{
private st... | 1,110 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.cache.standard;
import java.util.Set;
import junit.framework.TestCase;
public class StandardCacheTest
extends TestCase
{
private StandardCache cache;
public void testGetMaxSize()
{
cache... | 1,323 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.cache.standard;
import junit.framework.TestCase;
import com.enonic.cms.framework.cache.CacheFacade;
import com.enonic.cms.core.config.ConfigProperties;
public class StandardCacheBasicTest
extends TestCase
{... | 1,002 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.jdbc;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import org.mockito.Mockito;
import com.enonic.cms.framewor... | 979 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.jdbc;
import java.sql.SQLException;
import org.junit.Before;
import org.junit.Test;
import com.enonic.cms.framework.jdbc.dialect.PostgreSqlDialect;
/**
* Jan 19, 2010
*/
public class DialectConnectionDecorato... | 238 |
github-java-corpus | 2,012 | package com.enonic.cms.framework.jdbc;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import static org.junit.Assert.assertNotNull;
public class DriverFixConnectionDec... | 413 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.jdbc;
import java.sql.SQLException;
import org.junit.Before;
import org.junit.Test;
public class LoggingConnectionDecoratorTest
extends AbstractConnectionDecoratorTest
{
private ConnectionDecorator conn... | 202 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.xml;
import java.io.IOException;
import java.util.Arrays;
import org.junit.Test;
import static org.junit.Assert.*;
public class IllegalCharacterCleanerTest
{
private static byte[] ILLEGAL_XML_1_0_CHARS;
... | 364 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.blob;
import java.io.InputStream;
import org.junit.Assert;
import org.junit.Test;
import com.google.common.io.ByteStreams;
public abstract class BlobRecordTest
{
@Test
public void testCreate()
t... | 217 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.blob;
import org.junit.Assert;
import org.junit.Test;
public class BlobKeyTest
{
@Test
public void testStringBased()
{
final BlobKey key = new BlobKey("1234");
Assert.assertEquals("123... | 231 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.blob.gc;
import java.io.ByteArrayInputStream;
import java.util.Set;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import o... | 665 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.blob;
import java.io.ByteArrayInputStream;
import java.util.Set;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import com.google.common.collect.Iterables;
import com.google.common.coll... | 537 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.blob.file;
import java.io.File;
import com.google.common.io.ByteStreams;
import com.google.common.io.Files;
import com.enonic.cms.framework.blob.BlobKey;
import com.enonic.cms.framework.blob.BlobRecord;
import c... | 174 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.blob.file;
import java.io.File;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import com.google.common.io.Files;
import com.enonic.cms.framework.blob.BlobStore;
import com.enonic.cms.framework.b... | 178 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.cms.framework.blob.memory;
import com.enonic.cms.framework.blob.BlobKey;
import com.enonic.cms.framework.blob.BlobRecord;
import com.enonic.cms.framework.blob.BlobRecordTest;
public class MemoryBlobRecordTest
extends BlobR... | 111 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.vertical.adminweb;
import junit.framework.Assert;
import junit.framework.TestCase;
public class SearchBuilderTest
extends TestCase
{
public void testSimpleUserInput()
{
SearchStringBuffer userInput;
... | 833 |
github-java-corpus | 2,012 | package com.enonic.vertical.adminweb;
import junit.framework.TestCase;
import com.enonic.cms.core.resource.ResourceKey;
public class ResourceHandlerServletTest
extends TestCase
{
private ResourceHandlerServlet servlet;
@Override
protected void setUp()
throws Exception
{
... | 440 |
github-java-corpus | 2,012 | package com.enonic.vertical.adminweb;
import org.junit.Test;
import com.enonic.cms.core.security.userstore.UserStoreEntity;
import com.enonic.cms.core.security.userstore.config.UserStoreConfig;
import com.enonic.cms.core.security.userstore.config.UserStoreUserFieldConfig;
import com.enonic.cms.core.user.field.UserFi... | 2,040 |
github-java-corpus | 2,012 | package com.enonic.vertical.adminweb;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import com.enonic.cms.core.content.category.CategoryAccessEntity;
import com.enonic.cms.core.content.cate... | 987 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.vertical.adminweb.handlers;
import java.util.Map;
import org.junit.Before;
import org.junit.Test;
import com.enonic.esl.containers.ExtendedMap;
import static org.junit.Assert.*;
/**
* Created by rmy - Date: Nov 10, 2009
*... | 425 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.vertical.adminweb;
import org.springframework.mock.web.MockHttpServletRequest;
import junit.framework.TestCase;
public class AdminHelperTest
extends TestCase
{
MockHttpServletRequest request;
//MockHttpServletRe ... | 626 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.vertical.adminweb;
import junit.framework.Assert;
import junit.framework.TestCase;
public class SearchStringBufferTest
extends TestCase
{
public void testWithDefaultOperator()
{
SearchStringBuffer buffer =... | 282 |
github-java-corpus | 2,012 | /*
* Copyright 2000-2011 Enonic AS
* http://www.enonic.com/license
*/
package com.enonic.vertical.engine.handlers;
import java.util.HashMap;
import java.util.Map;
import junit.framework.TestCase;
import com.enonic.cms.core.content.category.CategoryKey;
import com.enonic.cms.core.content.category.CategoryStatistic... | 889 |
github-java-corpus | 2,012 | package com.enonic.vertical.engine.handlers;
import junit.framework.TestCase;
import static com.enonic.vertical.engine.handlers.NameGenerator.transcribeName;
public class NameGeneratorTest
extends TestCase
{
public void testCreateLatinUsernameFromDiacritics()
throws Exception
{
assertEqu... | 748 |
github-java-corpus | 2,012 | package com.enonic.vertical.engine.handlers;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import com.enonic.cms.core.security.userstore.UserStoreKey;
import com.enonic.cms.store.dao.UserDao;
import static org.junit.Assert.*;
public class UserHandlerTest_generateUID
{
private UserH... | 316 |
github-java-corpus | 2,012 | import java.io.*;
//HAZ UN PROGRAMA QUE INDIQUE SI LA PALABRE O FRASE INTRODUCIDA POR EL USUARIO ES UN PALINDROMO
//(Palindromo: Palabra o frase que se lee igual de izquierda a derecha,que de derecha a izquierda; p. ej., anilina.
public class Palindromo{
private static BufferedReader stdin = new BufferedRead... | 595 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 782 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 930 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 1,324 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 512 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 282 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 4,402 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 868 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 585 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 429 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 1,522 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 456 |
github-java-corpus | 2,012 | /*
* Copyright 2011 Tyler Blair. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditio... | 3,726 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 1,051 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 293 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2011-2012 Keyle
*/
package me.xXLupoXx.NoSpawn.Util;
import me.xXLupoXx.NoSpawn.NoSpawn;
import net.milkbowl.vault.permission.Permission;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.RegisteredServiceProvider;
import java.util.logging.Logger;
public... | 471 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 555 |
github-java-corpus | 2,012 | /*
* Copyright (c) <2012> <xXLupoXx>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, ... | 3,062 |
github-java-corpus | 2,012 | import java.util.*;
import java.io.*;
class judge {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int run = 0;
while (true) {
run++;
String line = reader.readLine();
int n = Integer.parseInt(li... | 343 |
github-java-corpus | 2,012 | import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map.Entry;
public class tennis {
/**
* @param args
* @throws IOException
*/
public static void main(String[] ar... | 676 |
github-java-corpus | 2,012 | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class blocks {
public static void main(String[] args) throws Exception {
BufferedReader input = new BufferedReader(new FileReader("blocks.in"));
boolean[][] fits = {
{false, false, false, true, true, false, false, false},
{fal... | 451 |
github-java-corpus | 2,012 | import java.util.*;
import java.io.*;
import java.util.regex.*;
class erdos {
public static void main(String args[]) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int test_cases = Integer.parseInt(reader.readLine().trim());
int current_case = 0;
P... | 970 |
github-java-corpus | 2,012 | import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.PriorityQueue;
public class jungle {
public static void main(String[] args) throws NumberFormatException, IOExc... | 816 |
github-java-corpus | 2,012 | import java.io.BufferedReader;
import java.io.FileReader;
public class smarty {
public static void main(String[] args) throws Exception {
BufferedReader input = new BufferedReader(new FileReader("smarty.in"));
String line;
int cased = 0;
while (!(line = input.readLine()).equals("0")) {
cased... | 633 |
github-java-corpus | 2,012 | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
class ballots {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String line = reader.readLine().trim();
int testCases = In... | 649 |
github-java-corpus | 2,012 | import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class FizzBuzz {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader in = new BufferedReader(new FileReader("FizzBuzz.in"));
int count = Integer.parseInt(in.readLine());... | 155 |
github-java-corpus | 2,012 | import java.util.*;
import java.io.*;
public class waldorf {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int totalCases = Integer.parseInt(reader.readLine());
while (true) {
if (totalCases-- == 0) b... | 1,048 |
github-java-corpus | 2,012 | package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFacto... | 454 |
github-java-corpus | 2,012 | import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.net.*;
import java.util.*;
public class Source extends HttpServlet {
private static final String CONTENT_TYPE = "text/html";
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletExc... | 387 |
github-java-corpus | 2,012 | package com.isobar.runkeeper.healthgraph;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.URL;
import java.net.URLConnection;
import javax.servlet.ServletException;
import javax.servlet.http.HttpS... | 416 |
github-java-corpus | 2,012 | package com.isobar.runkeeper.healthgraph;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class TokenServlet extends HttpServlet {
private static final String CONTENT_TYPE = "text/html";
public void doPost(HttpServletRequest request,
HttpServletRespo... | 152 |
github-java-corpus | 2,012 | package com.isobar.runkeeper.healthgraph;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.net.*;
import java.util.*;
public class UserInfoServlet extends HttpServlet {
private static final String CONTENT_TYPE = "text/html";
public void doGet(HttpServletRequest request,
... | 462 |
github-java-corpus | 2,012 | package com.isobar.runkeeper.healthgraph;
/**
* @author Bienfait Sindi
* @since 31 May 2011
*
*/
public class RunkeeperOauth {
public static final String FACEBOOK_ACCESS_TOKEN_SESSION = "FACEBOOK_ACCESS_TOKEN_SESSION";
private static final String REDIRECT_URL = "http://localhost:8080/sampleWebapp/landing.html"... | 78 |
github-java-corpus | 2,012 | package com.isobar.runkeeper.healthgraph;
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 sta... | 132 |
github-java-corpus | 2,012 | package com.isobar.runkeeper.healthgraph;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
import java.util.*;
public class LandingServlet extends HttpServlet {
private static final String CONTENT_TYPE = "text/ht... | 999 |
github-java-corpus | 2,012 | import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class Target extends HttpServlet {
private static final String CONTENT_TYPE = "text/html";
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
I... | 142 |
github-java-corpus | 2,012 | /****************************************************************************
* Copyright (c) 1998-2010 AOL 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.ap... | 3,855 |
github-java-corpus | 2,012 | /****************************************************************************
* Copyright (c) 1998-2010 AOL 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.ap... | 4,055 |
github-java-corpus | 2,012 | /****************************************************************************
* Copyright (c) 1998-2010 AOL 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.ap... | 1,996 |
github-java-corpus | 2,012 | /****************************************************************************
* Copyright (c) 1998-2010 AOL 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.ap... | 1,939 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Paul Austin
*
* 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 ... | 438 |
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... | 850 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Paul Austin
*
* 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 ... | 405 |
github-java-corpus | 2,012 | /**
* Classes that integrate the Apache Commons HTTP Client version 4 with the OAuth library.
*/
package net.oauth.client.httpclient4;
| 27 |
github-java-corpus | 2,012 | /*
* Copyright 2008 Sean Sullivan
*
* 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,038 |
github-java-corpus | 2,012 | /*
* Copyright 2008 Sean Sullivan
*
* 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... | 933 |
github-java-corpus | 2,012 | /*
* Copyright 2008 Sean Sullivan
*
* 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... | 227 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Paul Austin
*
* 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 ... | 792 |
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... | 755 |
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,124 |
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,078 |
github-java-corpus | 2,012 | /**
* Classes for implementing an OAuth Consumer; that is a client that requests
* access to protected resources.
*/
package net.oauth.client;
| 28 |
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... | 895 |
github-java-corpus | 2,012 | /**
* Classes for implementing an OAuth Service Provider; that is
* a server that controls access to protected resources.
*/
package net.oauth.server;
| 29 |
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,134 |
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... | 577 |
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,205 |
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... | 2,802 |
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,004 |
github-java-corpus | 2,012 | /*
* Copyright 2007 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... | 3,510 |
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,445 |
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... | 591 |
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,047 |
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... | 1,251 |
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... | 339 |
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... | 446 |
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... | 662 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.