id stringlengths 36 36 | meta stringlengths 429 697 | url stringlengths 27 109 | tokens int64 137 584 | domain_prefix stringlengths 16 106 | score float64 0.16 0.3 | code_content stringlengths 960 1.25k |
|---|---|---|---|---|---|---|
58ecb3e4-0ce3-4737-88b8-3929b04fb70a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-11 09:24:21", "repo_name": "tboqi/tbqapps", "sub_path": "/javaApps/yuqiblog-gae/src/com/yuqi/blog/dao/gae/UserDaoImpl.java", "file_name": "UserDaoImpl.java", "file_ext": "java", "file_size_in_byte": 1086, "lin... | https://github.com/tboqi/tbqapps | 257 | FILENAME: UserDaoImpl.java | 0.286968 | package com.yuqi.blog.dao.gae;
import java.util.List;
import javax.jdo.PersistenceManager;
import com.yuqi.blog.dao.UserDao;
import com.yuqi.blog.domain.User;
import com.yuqi.blog.utils.PMF;
import javax.jdo.Query;
public class UserDaoImpl implements UserDao {
private PersistenceManager pm = PMF.get().getPersisten... |
7d4dd9b1-d980-4b6f-a8c4-740cba6d4a05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-10 11:15:29", "repo_name": "Zxobi/andersenlab", "sub_path": "/bookstorageweb/src/test/java/com/andersenlab/bookstorageweb/PublishingHouseRepositoryIntegrationTest.java", "file_name": "PublishingHouseRepository... | https://github.com/Zxobi/andersenlab | 222 | FILENAME: PublishingHouseRepositoryIntegrationTest.java | 0.279042 | package com.andersenlab.bookstorageweb;
import com.andersenlab.bookstorageweb.entity.PublishingHouse;
import com.andersenlab.bookstorageweb.repository.PublishingHouseRepository;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Aut... |
d115ac7e-0cc2-40f6-83f3-dcb4ca542dd2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-14 15:21:01", "repo_name": "ebi-uniprot/QuickGOBE", "sub_path": "/ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/service/search/SearchServiceImpl.java", "file_name": "SearchServiceImpl.java", "file_ext... | https://github.com/ebi-uniprot/QuickGOBE | 237 | FILENAME: SearchServiceImpl.java | 0.272025 | package uk.ac.ebi.quickgo.ontology.service.search;
import uk.ac.ebi.quickgo.rest.search.RequestRetrieval;
import uk.ac.ebi.quickgo.rest.search.SearchService;
import uk.ac.ebi.quickgo.rest.search.query.QueryRequest;
import uk.ac.ebi.quickgo.rest.search.results.QueryResult;
import uk.ac.ebi.quickgo.ontology.model.OBOTer... |
d12673f7-bc57-471a-9096-592fdbe5bf5b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-09 14:18:22", "repo_name": "deNiroMe/spring-demos", "sub_path": "/book-service/src/main/java/ma/example/books/controllers/BookController.java", "file_name": "BookController.java", "file_ext": "java", "file_siz... | https://github.com/deNiroMe/spring-demos | 201 | FILENAME: BookController.java | 0.256832 | package ma.example.books.controllers;
import java.util.List;
import lombok.AllArgsConstructor;
import ma.example.books.services.BookService;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import ma.example.books.entities.B... |
2c41ac47-dda6-409b-aa13-398aa7f53839 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-10 06:18:54", "repo_name": "JDZhao/QQResourceCollection", "sub_path": "/course.storage/src/main/java/course/storage/imp/ResourceProcess.java", "file_name": "ResourceProcess.java", "file_ext": "java", "file_siz... | https://github.com/JDZhao/QQResourceCollection | 295 | FILENAME: ResourceProcess.java | 0.286968 | package course.storage.imp;
import java.util.List;
import course.spider.entity.WebSitesNewList;
import course.storage.configuration.ConfigUration;
import course.storage.interfaces.IResourceProcess;
/**
* 多线程资源处理的抽象类
*
* @author zhaojd
* @date 2016年10月24日 下午11:06:34
* @version 1.0
*/
public abst... |
75de425c-72aa-4bc0-b734-8b336043dbe7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-05 22:58:40", "repo_name": "robend123/prace_dyplomowe2", "sub_path": "/src/java/entity/Cycle.java", "file_name": "Cycle.java", "file_ext": "java", "file_size_in_byte": 1039, "line_count": 55, "lang": "en", "do... | https://github.com/robend123/prace_dyplomowe2 | 213 | FILENAME: Cycle.java | 0.23092 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package entity;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
/**
*
* @author Robson
*/
public class Cycle implements Serializable {
private long cycleId;
pri... |
ddca7450-c9ed-49f2-9e9f-3be5c7a36eae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-02 03:20:18", "repo_name": "pengkeng/pb2json", "sub_path": "/src/main/java/com/ucas/bigdata/controller/PbToJsonController.java", "file_name": "PbToJsonController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/pengkeng/pb2json | 199 | FILENAME: PbToJsonController.java | 0.259826 | package com.ucas.bigdata.controller;
import com.ucas.bigdata.proto.WebApi;
import com.ucas.bigdata.service.PbToJsonTransForService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.spring... |
53ca0c01-0edb-4140-952a-3667c4a29c95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-22 21:08:47", "repo_name": "NOAA-PMEL/OAPDashboard", "sub_path": "/UploadDashboard/src/gov/noaa/pmel/dashboard/server/vocabularies/NewVocabularyItemProposal.java", "file_name": "NewVocabularyItemProposal.java"... | https://github.com/NOAA-PMEL/OAPDashboard | 221 | FILENAME: NewVocabularyItemProposal.java | 0.217338 | /**
*
*/
package gov.noaa.pmel.dashboard.server.vocabularies;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArg... |
f6551b07-1158-4693-ba27-7b476c936a20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-24 03:15:08", "repo_name": "huiyu/ceresfs", "sub_path": "/ceresfs-server/src/test/java/io/github/huiyu/ceresfs/util/NetUtilTest.java", "file_name": "NetUtilTest.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/huiyu/ceresfs | 242 | FILENAME: NetUtilTest.java | 0.282988 | package io.github.huiyu.ceresfs.util;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.retry.ExponentialBackoffRetry;
import org.apache.curator.test.TestingServer;
import org.junit.After;
import org.junit.Before;
import org.jun... |
a1120e0a-f8b8-47b2-8018-002d809057ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-07 23:58:30", "repo_name": "sattdn21-01-02/selenium-minh2", "sub_path": "/src/main/java/models/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 52, "lang... | https://github.com/sattdn21-01-02/selenium-minh2 | 205 | FILENAME: Account.java | 0.225417 | package models;
import helper.DataHelper;
public class Account {
private String email;
private String password;
private String pid;
public Account() {
email = DataHelper.getRandomValidEmail();
password = DataHelper.getRandomValidPassword();
pid = DataHelper.getRandomValidPid(... |
8e2b23dc-6dfe-456d-93f6-ac043dcf6cc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-07 00:02:16", "repo_name": "blakethiessen/cirque", "sub_path": "/core/src/com/blakeandshahan/cirque/systems/render/UIRenderSystem.java", "file_name": "UIRenderSystem.java", "file_ext": "java", "file_size_in_by... | https://github.com/blakethiessen/cirque | 255 | FILENAME: UIRenderSystem.java | 0.293404 | package com.blakeandshahan.cirque.systems.render;
import com.badlogic.ashley.core.Entity;
import com.badlogic.ashley.core.Family;
import com.badlogic.ashley.systems.IteratingSystem;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.blakeandshahan.cirque.Mapper;
import com.blakeandshahan.cirque.components.Re... |
624ee251-d9da-48f1-8bb2-cabdc1c51de2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-02 19:44:40", "repo_name": "pm012/ftasks", "sub_path": "/fTasks/src/lesson16/SFileChooser.java", "file_name": "SFileChooser.java", "file_ext": "java", "file_size_in_byte": 1233, "line_count": 65, "lang": "en",... | https://github.com/pm012/ftasks | 293 | FILENAME: SFileChooser.java | 0.286169 | package lesson16;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.FlowLayout;
import java.io.File;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.filechooser.FileFilter;
public... |
5e46cbff-e973-4964-bf7e-fe92ad09e646 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-13T12:40:53", "repo_name": "gitdoit/learning-springboot", "sub_path": "/spring-mongodb/src/test/java/org/seefly/springmongodb/enums/EnumSupportTest.java", "file_name": "EnumSupportTest.java", "file_ext": "java... | https://github.com/gitdoit/learning-springboot | 249 | FILENAME: EnumSupportTest.java | 0.258326 | package org.seefly.springmongodb.enums;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.seefly.springmongodb.entity.Person;
import org.seefly.springmongodb.utils.MongoClientUtil;
import org.springframework.data.mongodb.core.MongoTemplate;... |
3ba84f22-4f7e-45ac-9059-ef83018e78d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-17 13:05:04", "repo_name": "eniacce/hql-builder", "sub_path": "/hql-builder/hql-builder-web/hql-builder-webservice/src/main/java/org/tools/hqlbuilder/webservice/jquery/ui/tagit/TagIt.java", "file_name": "TagIt... | https://github.com/eniacce/hql-builder | 233 | FILENAME: TagIt.java | 0.262842 | package org.tools.hqlbuilder.webservice.jquery.ui.tagit;
import org.tools.hqlbuilder.webservice.jquery.ui.jqueryui.JQueryUI;
import org.tools.hqlbuilder.webservice.wicket.CssResourceReference;
import org.tools.hqlbuilder.webservice.wicket.JavaScriptResourceReference;
/**
* @see http://aehlke.github.io/tag-it/
*/
pu... |
08d778c5-8358-4f51-a816-38f67dd5dc11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-19 15:37:04", "repo_name": "jojoldu/blog-code", "sub_path": "/spring-validation/src/main/java/com/blogcode/domain/web/MemberController.java", "file_name": "MemberController.java", "file_ext": "java", "file_siz... | https://github.com/jojoldu/blog-code | 244 | FILENAME: MemberController.java | 0.258326 | package com.blogcode.domain.web;
import com.blogcode.domain.member.MemberService;
import com.blogcode.domain.member.dto.MemberRequestDto;
import com.blogcode.domain.member.dto.MemberResponseDto;
import com.blogcode.domain.member.dto.ValidTestDto;
import org.springframework.stereotype.Controller;
import org.springframe... |
9273164b-9bad-4cde-82c5-80efe5f17bd5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-05 13:31:55", "repo_name": "TanyaOdyniuk/PetSpace", "sub_path": "/src/main/java/com/netcracker/model/like/CommentLike.java", "file_name": "CommentLike.java", "file_ext": "java", "file_size_in_byte": 1063, "lin... | https://github.com/TanyaOdyniuk/PetSpace | 221 | FILENAME: CommentLike.java | 0.258326 | package com.netcracker.model.like;
import com.netcracker.dao.annotation.ObjectType;
import com.netcracker.dao.annotation.Reference;
import com.netcracker.model.comment.AbstractComment;
import com.netcracker.model.comment.CommentConstant;
@ObjectType(LikeConstant.LDL_TYPE)
public class CommentLike extends AbstractLike... |
adf9524f-95f3-4036-be09-48cc28e162c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-14 17:18:10", "repo_name": "SiriShortcutboi/New-Java-2020-6_7-projects", "sub_path": "/New Java 2020 6_7 projects/chapter 10 classes oop/src/holden/anderson/car/Car.java", "file_name": "Car.java", "file_ext": ... | https://github.com/SiriShortcutboi/New-Java-2020-6_7-projects | 287 | FILENAME: Car.java | 0.26588 | package holden.anderson.car;
import java.awt.Color;
import java.util.Scanner;
import Vehicle;
import holden.anderson.carcomponents.Engine;
public class Car extends Vehicle{
String color;
int numDoors;
String doorType;
Long hardware;
double price;
Engine engine = new Engine();
public Car() {... |
8e92c424-5a67-4738-aab0-a1e0b021d9a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-19 04:13:05", "repo_name": "zibilal/ExternalFileLogger", "sub_path": "/lib/src/main/java/com/zibilal/externalfilelogger/ExternalLoggerHelper.java", "file_name": "ExternalLoggerHelper.java", "file_ext": "java",... | https://github.com/zibilal/ExternalFileLogger | 196 | FILENAME: ExternalLoggerHelper.java | 0.242206 | package com.zibilal.externalfilelogger;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* Created by bilalmuhammad on 9/22/14.
*/
public class ExternalLoggerHelper {
private Storage storage;
private Logger logger;
private int capacity;
private Writer writer;... |
c3d14aa8-699b-4b3d-8fbe-69197c33c1f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-14 15:21:01", "repo_name": "ebi-uniprot/QuickGOBE", "sub_path": "/annotation-rest/src/test/java/uk/ac/ebi/quickgo/annotation/coterms/CoTermRepositorySimpleMapFailedRetrievalIT.java", "file_name": "CoTermReposi... | https://github.com/ebi-uniprot/QuickGOBE | 271 | FILENAME: CoTermRepositorySimpleMapFailedRetrievalIT.java | 0.271252 | package uk.ac.ebi.quickgo.annotation.coterms;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.conte... |
33bddec9-3aaf-42f4-8a4a-6d4b6af4b780 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-15 12:21:45", "repo_name": "valera1297/an2", "sub_path": "/lab/app/src/main/java/com/example/valera/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1065, "line_co... | https://github.com/valera1297/an2 | 171 | FILENAME: MainActivity.java | 0.250913 | package com.example.valera;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity extends AppCompatActivity {
EditText login;
Button button;
... |
d42eff3c-32ed-4466-901f-7d795bb0100d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-16T22:44:05", "repo_name": "cloudflare/cloudflare-docs", "sub_path": "/content/bots/_partials/_javascript-detections-csp.md", "file_name": "_javascript-detections-csp.md", "file_ext": "md", "file_size_in_b... | https://github.com/cloudflare/cloudflare-docs | 262 | FILENAME: _javascript-detections-csp.md | 0.221351 | ---
_build:
publishResources: false
render: never
list: never
---
If you have a Content Security Policy (CSP), you need to take additional steps to implement JavaScript detections:
- Ensure that anything under `/cdn-cgi/challenge-platform/` is allowed. Your CSP should allow scripts served from your origin domai... |
bcf91603-1b15-4a7d-a92a-882fa6860232 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-03 02:17:58", "repo_name": "iuthub/java_2020_lecture9_helloworld", "sub_path": "/src/sample/Controller.java", "file_name": "Controller.java", "file_ext": "java", "file_size_in_byte": 1165, "line_count": 48, "l... | https://github.com/iuthub/java_2020_lecture9_helloworld | 219 | FILENAME: Controller.java | 0.278257 | package sample;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyEvent;
public class Controller {
@FXML
public void initialize() {
txtGreeting.setText("He... |
3beb3ac9-6e7d-4d10-aefa-6b10ee4e298f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-27 17:35:17", "repo_name": "QuimMilho/Minecraft-Plugins", "sub_path": "/Login/src/me/quimmilho/plugins/login/events/OnPlayerCommand.java", "file_name": "OnPlayerCommand.java", "file_ext": "java", "file_size_in... | https://github.com/QuimMilho/Minecraft-Plugins | 203 | FILENAME: OnPlayerCommand.java | 0.235108 | package me.quimmilho.plugins.login.events;
import me.quimmilho.plugins.login.commands.CmdLogin;
import org.bukkit.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerCommandPreprocessEvent;
public class OnPlayerCommand implements Listener {
... |
79a51276-0a0c-4e03-8d69-5f859f3d8657 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-26 23:07:47", "repo_name": "YoungFu083/ModelPlayer", "sub_path": "/ModelPlayer_Lib/src/uuu/mplayer/test/TestCustomerService_register.java", "file_name": "TestCustomerService_register.java", "file_ext": "java",... | https://github.com/YoungFu083/ModelPlayer | 295 | FILENAME: TestCustomerService_register.java | 0.280616 | package uuu.mplayer.test;
import java.util.logging.Level;
import java.util.logging.Logger;
import uuu.mplayer.entity.Customer;
import uuu.mplayer.exception.MPRDataInvalidException;
import uuu.mplayer.exception.MPRException;
import uuu.mplayer.service.CustomerService;
public class TestCustomerService_register {
p... |
1e5400e5-eab9-4650-b7f6-6a09c2a9a78c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-07 08:33:16", "repo_name": "sa-mamun/Android-Code", "sub_path": "/RadioButton/app/src/main/java/demo2/com/radiobutton/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/sa-mamun/Android-Code | 213 | FILENAME: MainActivity.java | 0.249447 | package demo2.com.radiobutton;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
RadioGroup radioGroup;
... |
6a7ed0bc-6a06-4bb0-a56e-83f733767c49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-30 03:57:15", "repo_name": "shixiangyu/git_android", "sub_path": "/GitAndroid/app/src/main/java/com/xiangyu/material/gitandroid/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_s... | https://github.com/shixiangyu/git_android | 199 | FILENAME: MainActivity.java | 0.187133 | package com.xiangyu.material.gitandroid;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceSta... |
91225e83-110d-4a0a-b2a9-f99d24300cf5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-21 01:57:29", "repo_name": "DannyHoo/miaosha", "sub_path": "/src/main/java/com/geekq/miaosha/redis/redismanager/RedisLua.java", "file_name": "RedisLua.java", "file_ext": "java", "file_size_in_byte": 1050, "lin... | https://github.com/DannyHoo/miaosha | 258 | FILENAME: RedisLua.java | 0.242206 | package com.geekq.miaosha.redis.redismanager;
import redis.clients.jedis.Jedis;
import java.util.ArrayList;
import java.util.List;
public class RedisLua {
/**
* 未完成 需 evalsha更方便
*/
public static void getLUa() {
Jedis jedis = null;
try {
jedis = RedisManager.getJedis()... |
a7609ff2-991e-4da7-9a4a-a58820e8c89b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-14 21:35:23", "repo_name": "cilogon/cilogon-java", "sub_path": "/client/src/main/java/org/cilogon/oauth2/client/CILOA2ClientBootstrapper.java", "file_name": "CILOA2ClientBootstrapper.java", "file_ext": "java",... | https://github.com/cilogon/cilogon-java | 273 | FILENAME: CILOA2ClientBootstrapper.java | 0.264358 | package org.cilogon.oauth2.client;
import edu.uiuc.ncsa.oa4mp.oauth2.client.OA2ClientBootstrapper;
import edu.uiuc.ncsa.security.core.exceptions.MyConfigurationException;
import edu.uiuc.ncsa.security.core.util.ConfigurationLoader;
import org.apache.commons.configuration.tree.ConfigurationNode;
/**
* <p>Created by J... |
5454f7f8-bc67-416d-928e-899b2c272250 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-07 14:08:06", "repo_name": "bestego/SoapClient", "sub_path": "/src/main/java/nl/bestego/springclient/PersoonClient.java", "file_name": "PersoonClient.java", "file_ext": "java", "file_size_in_byte": 1064, "line... | https://github.com/bestego/SoapClient | 215 | FILENAME: PersoonClient.java | 0.233706 | package nl.bestego.springclient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.ws.client.core.support.WebServiceGatewaySupport;
import org.springframework.ws.soap.client.core.SoapActionCallback;
import com.example.consumingwebservice.wsdl.GetPersoonRequest;
import com.example.co... |
41866250-2e19-4e82-8b82-e8d83099efe2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-06 18:46:57", "repo_name": "raxuk/HundirServlet", "sub_path": "/src/controlador/SalirPartidaServlet.java", "file_name": "SalirPartidaServlet.java", "file_ext": "java", "file_size_in_byte": 1191, "line_count": ... | https://github.com/raxuk/HundirServlet | 224 | FILENAME: SalirPartidaServlet.java | 0.295027 | package controlador;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import modelo.Part... |
9a18ec6c-a41a-400c-9a9b-9cb1c5c70fc3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-02-24T06:04:17", "repo_name": "carlelieser/windowBar-js", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1039, "line_count": 32, "lang": "en", "doc_type": "text", "... | https://github.com/carlelieser/windowBar-js | 249 | FILENAME: README.md | 0.272025 | # windowBar.js
A jQuery plugin for chrome packaged apps that creates a simple, customizable and functional window bar.
## Example
See [test](https://github.com/carlelieser/windowBar.js/tree/master/test) for a complete chrome packaged app showcasing windowBar.js
**Link CSS**
```html
<link type="text/css" rel="stylesh... |
d7efd281-9173-4e71-879d-24285f732042 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-23T04:17:09", "repo_name": "MathBunny/typedoc-namespace-bug-demo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1084, "line_count": 29, "lang": "en", "doc_type... | https://github.com/MathBunny/typedoc-namespace-bug-demo | 261 | FILENAME: README.md | 0.229535 | # TypeDoc Namespace Bug
Simple reproducible setup demonstrating a [re-exporting bug](https://github.com/TypeStrong/typedoc/issues/1353) in TypeDoc.
## Purpose
Highlights the issue of "variables" appearing as a heading for type re-exporting, when in fact it is an interface. The complete source code can be found in `s... |
d02bbb08-74d1-4f8b-825a-e5d450329d77 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-02 13:43:05", "repo_name": "ynwc2006/leetcode", "sub_path": "/0230_KthSmallestElementInABST_mine.java", "file_name": "0230_KthSmallestElementInABST_mine.java", "file_ext": "java", "file_size_in_byte": 1028, "l... | https://github.com/ynwc2006/leetcode | 222 | FILENAME: 0230_KthSmallestElementInABST_mine.java | 0.282196 | /**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode() {}
* TreeNode(int val) { this.val = val; }
* TreeNode(int val, TreeNode left, TreeNode right) {
* this.val = val;
* this.left = left;
* ... |
5a32b0d6-c597-4edc-b329-3cae2c4b804c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-12 23:09:48", "repo_name": "deathcoder/WebsiteDetector", "sub_path": "/src/main/java/com/demo/deathcoder/detector/impl/ChainWebsiteDetector.java", "file_name": "ChainWebsiteDetector.java", "file_ext": "java", ... | https://github.com/deathcoder/WebsiteDetector | 224 | FILENAME: ChainWebsiteDetector.java | 0.279042 | package com.demo.deathcoder.detector.impl;
import com.demo.deathcoder.detector.WebsiteDetector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
/**
* Created by davide on 20/10/16.
*/
public class ChainWebsiteDetector implements WebsiteDetector {
private static Logger logger = L... |
39088022-75bf-440a-9d40-703a63f3706c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-29 11:02:32", "repo_name": "ltpAndroid/sxl", "sub_path": "/app/src/main/java/com/dofun/sxl/adapter/LiveAdapter.java", "file_name": "LiveAdapter.java", "file_ext": "java", "file_size_in_byte": 1165, "line_count... | https://github.com/ltpAndroid/sxl | 248 | FILENAME: LiveAdapter.java | 0.253861 | package com.dofun.sxl.adapter;
import android.support.annotation.Nullable;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dofun.sxl.R;
import com.dofun.sxl.bean.LiveBean;
import j... |
e3337460-ee95-4aec-8daf-9d17012cb917 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-31 10:38:48", "repo_name": "Ruslan815/CrazyTanks", "sub_path": "/src/tankgame/Sound.java", "file_name": "Sound.java", "file_ext": "java", "file_size_in_byte": 1071, "line_count": 40, "lang": "en", "doc_type": ... | https://github.com/Ruslan815/CrazyTanks | 225 | FILENAME: Sound.java | 0.267408 | package tankgame;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import javax.swing.*;
import javax.sound.sampled.*;
public class Sound {
URL url;
private Clip clip;
boolean loop;
String path = System.getProperty("user.dir");
Sound(String name, boolean loo... |
adeca55e-dff1-4f4d-910c-ef4f09a7c238 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-18 20:28:33", "repo_name": "life0fun/MovementSensor", "sub_path": "/src/com/colorcloud/movementsensor/AppPreferences.java", "file_name": "AppPreferences.java", "file_ext": "java", "file_size_in_byte": 1101, "l... | https://github.com/life0fun/MovementSensor | 257 | FILENAME: AppPreferences.java | 0.286968 |
package com.colorcloud.movementsensor;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
/**
*<code><pre>
* CLASS:
* To handle App setting and preference
*
* RESPONSIBILITIES:
*
* COLABORATORS:
*
* USAGE:
* See each method.
*
*</pre></code>
*/
public c... |
9e60199c-165f-4192-b3bc-2bd82911ab80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-29 09:40:10", "repo_name": "YuanwuXiang/Challenge", "sub_path": "/src/main/java/com/tradeshift/loginProj/Test/TestClient.java", "file_name": "TestClient.java", "file_ext": "java", "file_size_in_byte": 1065, "l... | https://github.com/YuanwuXiang/Challenge | 265 | FILENAME: TestClient.java | 0.26971 | package com.tradeshift.loginProj.Test;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.core.util.MultivaluedMapImpl;
/**
* Created by aaron on 15/7/25.
*/
public class TestClient {
public static void main(String[] args){
}
private static Web... |
6ee17766-094a-4574-a7b7-6887752127d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-10 14:05:48", "repo_name": "1316869355/icps", "sub_path": "/src/com/icps/servlet/logoutServlet.java", "file_name": "logoutServlet.java", "file_ext": "java", "file_size_in_byte": 1064, "line_count": 37, "lang":... | https://github.com/1316869355/icps | 179 | FILENAME: logoutServlet.java | 0.277473 | package com.icps.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
... |
c8dd9145-7d0e-44cf-918c-a998a0119d12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-12 12:16:57", "repo_name": "KormuhinIP/demo", "sub_path": "/src/main/java/com/example/view/VaadinUI.java", "file_name": "VaadinUI.java", "file_ext": "java", "file_size_in_byte": 1021, "line_count": 43, "lang":... | https://github.com/KormuhinIP/demo | 213 | FILENAME: VaadinUI.java | 0.256832 | package com.example.view;
import com.vaadin.annotations.Theme;
import com.vaadin.annotations.Widgetset;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.spring.annotation.SpringUI;
import com.vaadin.ui.UI;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
impor... |
d6aabea1-c88a-40c5-ba98-815b60b40c96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-05 12:49:24", "repo_name": "companieshouse/docs.developer.ch.gov.uk", "sub_path": "/src/main/java/uk/gov/ch/developer/docs/DocsWebApplication.java", "file_name": "DocsWebApplication.java", "file_ext": "java", ... | https://github.com/companieshouse/docs.developer.ch.gov.uk | 174 | FILENAME: DocsWebApplication.java | 0.193147 | package uk.gov.ch.developer.docs;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframewo... |
42c7f7b8-17e1-4036-9d95-4a05008ff1b7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-02 14:33:26", "repo_name": "MichaelBosello/regexp-searcher", "sub_path": "/src/main/java/forkjoin/action/CountRegexInFileAction.java", "file_name": "CountRegexInFileAction.java", "file_ext": "java", "file_size... | https://github.com/MichaelBosello/regexp-searcher | 210 | FILENAME: CountRegexInFileAction.java | 0.276691 | package forkjoin.action;
import regex.regexresult.Result;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.FileChannel;
import java.nio.charset.Charset;
import java.util.concurrent.RecursiveAction;
import java.util.regex.Match... |
1d362c8a-fdd3-4869-a6c3-ea8c0893c4b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-08-06T17:33:26", "repo_name": "odoucet/googlePhotosImageFinder", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1012, "line_count": 26, "lang": "en", "doc_type": "t... | https://github.com/odoucet/googlePhotosImageFinder | 311 | FILENAME: README.md | 0.262842 | googlePhotosImageFinder
=======================
Since 2013 (I guess), Picasa has been merged on Google+
Now with Google+, all images <= 2048pixels are free of charge. All images wider will count on your Google account quota.
If you need to find such images, just use this small PHP script. It will tell you which albums... |
2276a923-c3e1-48b1-982a-62eb4337ad84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-25 05:34:24", "repo_name": "DarksKnight/ezevent", "sub_path": "/ezevent-project/src/main/java/com/ez/event/internal/flow/CreateConsumerEventEmitter.java", "file_name": "CreateConsumerEventEmitter.java", "file_... | https://github.com/DarksKnight/ezevent | 247 | FILENAME: CreateConsumerEventEmitter.java | 0.292595 | package com.ez.event.internal.flow;
import com.ez.event.internal.thread.ExecRunnable;
import com.ez.event.internal.thread.ThreadExecutors;
import com.ez.event.internal.thread.ThreadToken;
/**
* @author shy
* @date 2018/11/18
*/
public class CreateConsumerEventEmitter implements ConsumerEventEmitter {
private ... |
a80eb91f-348a-4f2b-9981-2f7d8b046768 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-11-29 04:32:31", "repo_name": "ejconlon/jsubschema", "sub_path": "/src/main/java/net/exathunk/jsubschema/gen/FieldRep.java", "file_name": "FieldRep.java", "file_ext": "java", "file_size_in_byte": 1059, "line_coun... | https://github.com/ejconlon/jsubschema | 227 | FILENAME: FieldRep.java | 0.226784 | package net.exathunk.jsubschema.gen;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
/**
* charolastra 11/14/12 9:57 PM
*/
public class FieldRep {
public String name;
public String className;
public Visibility visibility = Visibility.PUBLIC;
public... |
fe5d18a0-9287-44ee-9aea-d6e6793914ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-01 18:34:35", "repo_name": "brianstenk/mockito-example", "sub_path": "/src/main/java/stackWithLinkedListRachael/StackAdvanced.java", "file_name": "StackAdvanced.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/brianstenk/mockito-example | 212 | FILENAME: StackAdvanced.java | 0.273574 | package stackWithLinkedListRachael;
import advancedStackTest.PopEmptyStackException;
import com.crystal.demo.rachealStack.PopEmptyStack;
public class StackAdvanced {
Node head;
private int count = 0;
public boolean isEmpty() {
if (head != null ) return false;
return true;
}
publi... |
dac0c1d4-2edc-4026-b0d3-d511536271a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-23 14:55:45", "repo_name": "Moearly/Weekend", "sub_path": "/app/src/main/java/com/martn/weekend/model/QuestreplyModel.java", "file_name": "QuestreplyModel.java", "file_ext": "java", "file_size_in_byte": 1032, ... | https://github.com/Moearly/Weekend | 258 | FILENAME: QuestreplyModel.java | 0.255344 | package com.martn.weekend.model;
import org.json.JSONObject;
import java.io.Serializable;
/**
* Title: Weekend
* Package: com.martn.weekend.model
* Description: ("问题回答")
* Date 2014/10/5 23:02
*
* @author MartnLei MartnLei_163_com
* @version V1.0
*/
public class QuestreplyModel implements Serializable {
... |
912ab2ab-f22c-44e7-b8d5-f8a886bbdbf0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-06 15:21:41", "repo_name": "zndy10/Theseed-back-end", "sub_path": "/src/main/java/com/seed/controller/frontend/BannerLogoController.java", "file_name": "BannerLogoController.java", "file_ext": "java", "file_si... | https://github.com/zndy10/Theseed-back-end | 199 | FILENAME: BannerLogoController.java | 0.242206 | package com.seed.controller.frontend;
import com.seed.model.BannerLogo;
import com.seed.service.IBannerLogoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframew... |
b44eb57a-1792-4e27-bb22-71a34ff7690f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-14 01:07:59", "repo_name": "Kausbot/AIIMS_KIOSK", "sub_path": "/app/src/main/java/ps1/bits_pilani/goa/aiims_kiosk/Govt_Schemes/IGMSY.java", "file_name": "IGMSY.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Kausbot/AIIMS_KIOSK | 238 | FILENAME: IGMSY.java | 0.242206 | package ps1.bits_pilani.goa.aiims_kiosk.Govt_Schemes;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import ps1.bits_pilani.goa.aiims_kiosk.R;
import ps1.bits_pilani.goa.aiims_kiosk.Schemes;
public class IGMSY extends AppCompatActiv... |
5a43aa64-9048-43d9-91bf-bf6366fa8b0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-30 10:31:56", "repo_name": "evrimulgen/product-shop-workshop", "sub_path": "/src/main/java/productshop/domain/entities/BaseUUIDEntity.java", "file_name": "BaseUUIDEntity.java", "file_ext": "java", "file_size_i... | https://github.com/evrimulgen/product-shop-workshop | 213 | FILENAME: BaseUUIDEntity.java | 0.27513 | package productshop.domain.entities;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import ... |
3168280b-abe8-449f-a9c9-33df9f253224 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-10 15:06:38", "repo_name": "freshchen/fresh-ad-system", "sub_path": "/ad-gateway/src/main/java/com/ecnu/lingc/ad/gateway/filter/PostRequestFilter.java", "file_name": "PostRequestFilter.java", "file_ext": "java... | https://github.com/freshchen/fresh-ad-system | 266 | FILENAME: PostRequestFilter.java | 0.253861 | package com.ecnu.lingc.ad.gateway.filter;
import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.context.RequestContext;
import com.netflix.zuul.exception.ZuulException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants;
import org.springframework.ster... |
9a12396b-30fa-4bd5-9509-a93600c12987 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-29 09:05:52", "repo_name": "MonicaTifaniZ/Adeptform", "sub_path": "/app/src/main/java/com/monicatifanyz/adeptforms/api/LoginResponse.java", "file_name": "LoginResponse.java", "file_ext": "java", "file_size_in_... | https://github.com/MonicaTifaniZ/Adeptform | 214 | FILENAME: LoginResponse.java | 0.203075 | package com.monicatifanyz.adeptforms.api;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class LoginResponse {
@SerializedName("error")
@Expose
private boolean error;
@SerializedName("message")
@Expose
private Stri... |
4b76af59-7ded-46fe-9f22-f988e94daefc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-23 06:25:16", "repo_name": "Floodon/RES-4IF", "sub_path": "/TP-HTTP/src/http/server/HttpResponse.java", "file_name": "HttpResponse.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 40, "lang"... | https://github.com/Floodon/RES-4IF | 257 | FILENAME: HttpResponse.java | 0.284576 | package http.server;
/**
* Classe representant le HEADER d'une reponse HTTP
*
*/
public class HttpResponse {
public String protocolVersion;
public String code;
public String codeSignification;
public String body;
public String contentLength;
public String contentType;
pub... |
177f425b-8b3f-4788-955e-6f34c144673e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 08:05:34", "repo_name": "iamStephenFang/JavaEE_Course_Projects", "sub_path": "/实验一/LoginServlet/src/cn/edu/zjut/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_size_in_... | https://github.com/iamStephenFang/JavaEE_Course_Projects | 208 | FILENAME: LoginController.java | 0.281406 | package cn.edu.zjut;
import cn.edu.zjut.dao.UserDAO;
import cn.edu.zjut.model.UserBean;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class LoginController extends HttpServlet {
protected void doPost(HttpServletRequest request,
HttpServletResponse respon... |
39f19125-76d7-493a-a8ef-f58f2621ea36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-18 03:37:03", "repo_name": "hanzujun/sjroom-boot", "sub_path": "/dop-framework-z-demo/src/main/java/com/sunvalley/framework/example/web/DictController.java", "file_name": "DictController.java", "file_ext": "ja... | https://github.com/hanzujun/sjroom-boot | 258 | FILENAME: DictController.java | 0.201813 | package com.sunvalley.framework.example.web;
import com.sunvalley.framework.example.ExampleService;
import com.sunvalley.framework.example.service.DemoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.anno... |
390da477-6c1b-457e-b9a0-2b0b701f456c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-05 09:55:59", "repo_name": "raunak11/RecyclerView-image-", "sub_path": "/app/src/main/java/com/example/raunak/recyclerview/NextActivity.java", "file_name": "NextActivity.java", "file_ext": "java", "file_size_i... | https://github.com/raunak11/RecyclerView-image- | 189 | FILENAME: NextActivity.java | 0.220007 | package com.example.raunak.recyclerview;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import Adapter.Myadapter;
public class NextActivity extends AppCompatActivity {
private TextView name... |
7bdb3344-bc39-4459-a82a-41cad7ab1e37 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-30 22:08:19", "repo_name": "4aplin/testIFree", "sub_path": "/src/test/java/core/pages/SignUpPage.java", "file_name": "SignUpPage.java", "file_ext": "java", "file_size_in_byte": 1051, "line_count": 29, "lang": ... | https://github.com/4aplin/testIFree | 248 | FILENAME: SignUpPage.java | 0.27513 | package core.pages;
import core.systemControls.*;
import core.systemPages.PageBase;
import org.openqa.selenium.By;
public class SignUpPage extends PageBase {
public SignUpPage() {
NameInput = new TextInput(By.xpath("//*[@id=\"root\"]/div/div/div/main/div/div[2]/div/div[1]/div/form/div[1]/div[1]/div/input... |
6087ae7a-0b79-401c-a8bb-bbb484b4009d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-30 17:15:03", "repo_name": "tomala1000/grupowe", "sub_path": "/src/main/java/org/sda/servlets/util/ValidationUtil.java", "file_name": "ValidationUtil.java", "file_ext": "java", "file_size_in_byte": 1079, "line... | https://github.com/tomala1000/grupowe | 193 | FILENAME: ValidationUtil.java | 0.286169 | package org.sda.servlets.util;
import org.sda.servlets.domain.User;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.Validator;
import javax.validation.ValidatorFactory;
import java.util.Set;
public class ValidationUtil {
private static Validator validator... |
7aa18beb-7def-4ce3-8c04-81bac6a56eb6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-07 06:44:18", "repo_name": "Xunle1/Animal-master", "sub_path": "/src/animal/Animal.java", "file_name": "Animal.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 62, "lang": "en", "doc_type": ... | https://github.com/Xunle1/Animal-master | 262 | FILENAME: Animal.java | 0.258326 | package animal;
/**
* Filename: Animal.java
* 动物属性: 种类,性别, 年龄。
* @author: Xunle
* @date: 2020/10/07
*/
public class Animal {
private String species;
private char gender;
private int age;
public Animal() {}
public Animal(String species, char gender, int age) {
this.species = species;
... |
a94d930c-39ca-4c23-8a7f-a627a838453b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-07 09:44:42", "repo_name": "Mostafayehya/ITI-Java-IO", "sub_path": "/src/main/java/Day2/lab2/UDPFileSender.java", "file_name": "UDPFileSender.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count":... | https://github.com/Mostafayehya/ITI-Java-IO | 224 | FILENAME: UDPFileSender.java | 0.267408 | package Day2.lab2;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.net.*;
import java.nio.charset.StandardCharsets;
public class UDPFileSender {
public static void main(String[] args) {
DatagramSocket dgSocket = null;
try {
dgSocket =... |
1ef33976-c3e5-4fa0-add4-eeea67d820a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-05 12:31:26", "repo_name": "automate-website/teamcity-plugin", "sub_path": "/server/src/main/java/website/automate/teamcity/server/io/model/AbstractSerializable.java", "file_name": "AbstractSerializable.java",... | https://github.com/automate-website/teamcity-plugin | 239 | FILENAME: AbstractSerializable.java | 0.275909 | package website.automate.teamcity.server.io.model;
import java.io.Serializable;
public abstract class AbstractSerializable implements Serializable {
private static final long serialVersionUID = -1407298374327171471L;
protected String id;
public String getId() {
return id;
}
pub... |
227843d1-c867-483c-96f7-043a8951a899 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-18 12:20:47", "repo_name": "professor-lol/professor-lol", "sub_path": "/professorlol-riot-api/src/main/java/com/ccs/professorlol/config/exception/dto/RiotExceptionDto.java", "file_name": "RiotExceptionDto.java... | https://github.com/professor-lol/professor-lol | 202 | FILENAME: RiotExceptionDto.java | 0.228156 | package com.ccs.professorlol.config.exception.dto;
import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
@Slf4j
@Getter
@ToString
@NoArgs... |
6ef07251-d3c6-46f3-a382-118012dc8eb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-19 08:03:07", "repo_name": "e1328/blog2", "sub_path": "/src/main/java/com/javaweb/blog/controller/CommentController.java", "file_name": "CommentController.java", "file_ext": "java", "file_size_in_byte": 1088, ... | https://github.com/e1328/blog2 | 207 | FILENAME: CommentController.java | 0.242206 | package com.javaweb.blog.controller;
import com.javaweb.blog.entity.Result;
import com.javaweb.blog.entity.StatusCode;
import com.javaweb.blog.pojo.Comment;
import com.javaweb.blog.service.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
... |
c6cd391f-7c4e-439f-b21f-60866ad1958d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-16 07:39:02", "repo_name": "ta-matsuura/taidroid", "sub_path": "/src/icsbook/sample/section3/example12/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1202, "line... | https://github.com/ta-matsuura/taidroid | 229 | FILENAME: MainActivity.java | 0.282988 | package icsbook.sample.section3.example12;
import icsbook.sample.R;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.widget.ShareActionProvider;
public class MainActivity extends Activity {
private... |
da9291cb-15e9-4f0a-95ab-09407989643e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-07-06 19:24:05", "repo_name": "rilopez/cracking-the-code-interview", "sub_path": "/src/main/java/crackingTheCodeInterview/arraysandstrings/StringAndArrayUtils.java", "file_name": "StringAndArrayUtils.java", "file... | https://github.com/rilopez/cracking-the-code-interview | 209 | FILENAME: StringAndArrayUtils.java | 0.295027 | package crackingTheCodeInterview.arraysandstrings;
import java.util.HashSet;
import java.util.Set;
public class StringAndArrayUtils {
public static boolean hasUniqueCharacters(String inputString) {
if(inputString == null || inputString.equals("")) return false;
Set<Character> charSet = new HashSet... |
e07f959b-f371-4b45-ae57-ff0c8cae84c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-12 08:58:18", "repo_name": "fvahdati/viva", "sub_path": "/src/main/java/com/viva/Viva/membership/model/Membership.java", "file_name": "Membership.java", "file_ext": "java", "file_size_in_byte": 1192, "line_cou... | https://github.com/fvahdati/viva | 249 | FILENAME: Membership.java | 0.273574 | package com.viva.Viva.membership.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ser.Serializers;
import com.viva.Viva.base.BaseEntity;
import com.viva.Viva.businessProviders.model.BusinessProvider;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.pe... |
28a58534-da36-4cf3-a5ff-714a6ab836ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-30 11:46:15", "repo_name": "komalghule/eVisa", "sub_path": "/src/app/visa/test/CenterServiceImplTest.java", "file_name": "CenterServiceImplTest.java", "file_ext": "java", "file_size_in_byte": 1056, "line_count... | https://github.com/komalghule/eVisa | 201 | FILENAME: CenterServiceImplTest.java | 0.264358 | package app.visa.test;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.t... |
a7ab9bba-b7af-410b-8e70-b019b930b2e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-21 01:32:14", "repo_name": "fliang97/176B_server", "sub_path": "/src/Server/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 1076, "line_count": 47, "lang": "en", "doc_type": ... | https://github.com/fliang97/176B_server | 224 | FILENAME: Server.java | 0.295027 | package Server;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.List;
import Server.MultipleConnection;
public class Server extends Thread{
private final int serverPort;
private ArrayList<MultipleConnection> connectionList = new Array... |
97606467-47b7-4b7c-ab17-2317d238522d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-15T15:03:04", "repo_name": "Vinelab/go-base", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1022, "line_count": 19, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/Vinelab/go-base | 241 | FILENAME: README.md | 0.249447 | # Go base
A basic project structure with configuration using environment variables and a convenient http client package to reduce boilerplate.
### Features
- Define configuration variables in `config/config.go`
- Use the HTTP client with simple calls to `http.GET` and `http.POST`
## Installation
- Clone this reposit... |
e8664312-91d9-486b-abde-30e5b3428ef9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-09 13:14:12", "repo_name": "weebeejeebees/InheritanceRPGTANGOTECHNOLOGIES", "sub_path": "/app/src/main/java/com/example/inheritancerpgtangotechnologies/MainActivity.java", "file_name": "MainActivity.java", "fi... | https://github.com/weebeejeebees/InheritanceRPGTANGOTECHNOLOGIES | 174 | FILENAME: MainActivity.java | 0.191933 | package com.example.inheritancerpgtangotechnologies;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.example.inheritancerpgtangotechnologies.view.Select;
public class MainActivity extends App... |
bd8c8bd1-2316-43e4-ac1b-9a34a687bc0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-20 00:36:30", "repo_name": "redhat-quarkus-hackfest-team5/twitter-ingestor", "sub_path": "/src/main/java/quarkus/hackfest/twitteringestor/bean/LatestTweetBean.java", "file_name": "LatestTweetBean.java", "file_... | https://github.com/redhat-quarkus-hackfest-team5/twitter-ingestor | 241 | FILENAME: LatestTweetBean.java | 0.259826 | package quarkus.hackfest.twitteringestor.bean;
import org.apache.camel.Exchange;
import org.apache.camel.component.twitter.TwitterConstants;
import twitter4j.HashtagEntity;
import twitter4j.Status;
import javax.inject.Named;
import javax.inject.Singleton;
import java.util.List;
@Singleton
@Named("latestTweetBean")
pu... |
c7237c71-5dcc-46f9-8d6d-79a17cac669b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-10 09:29:18", "repo_name": "YLS-Kevin/robot", "sub_path": "/src/main/java/com/yls/projects/robot/service/impl/DialogResourceServiceImpl.java", "file_name": "DialogResourceServiceImpl.java", "file_ext": "java",... | https://github.com/YLS-Kevin/robot | 234 | FILENAME: DialogResourceServiceImpl.java | 0.290981 | package com.yls.projects.robot.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com... |
67e8b148-acb6-4e74-b596-8bfccaf0e3c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-25 17:03:11", "repo_name": "chaulong78/ONLINE-TRACKING-01", "sub_path": "/src/main/java/com/msp/controller/MainController.java", "file_name": "MainController.java", "file_ext": "java", "file_size_in_byte": 119... | https://github.com/chaulong78/ONLINE-TRACKING-01 | 214 | FILENAME: MainController.java | 0.2227 | package com.msp.controller;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Reques... |
9bafd460-0c89-46af-8b45-8bc683dc2149 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-06-03T06:26:38", "repo_name": "nwinkler/bookmarklet", "sub_path": "/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 25, "lang": "en", "doc_type": "text",... | https://github.com/nwinkler/bookmarklet | 256 | FILENAME: CHANGELOG.md | 0.233706 | ## 0.5.1
* Improved documentation, mainly formatting.
## 0.5.0
* Added commands to include/load jQuery in the generated bookmarklet. The code for including jQuery was reused from https://github.com/chriszarate/bookmarkleter.
* Added option to use minified or unminified jQuery library.
## 0.4.0
* Encoding the generate... |
f920911a-163e-4fa7-ad6d-327c5a34dfa3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-16 10:16:18", "repo_name": "alexandrKuskov/11", "sub_path": "/src/eu/datatiler/pages/dictionary/ItemRegion.java", "file_name": "ItemRegion.java", "file_ext": "java", "file_size_in_byte": 1041, "line_count": 32... | https://github.com/alexandrKuskov/11 | 217 | FILENAME: ItemRegion.java | 0.272799 | package eu.datatiler.pages.dictionary;
import com.qatestlab.base.BasePage;
import com.qatestlab.base.Locator;
import com.qatestlab.base.LocatorTypes;
/**
* Created by Petro on 16.03.2016.
*/
public class ItemRegion extends BasePage {
private Locator dictionaryPage = new Locator(LocatorTypes.XPATH,
... |
49c2b033-576f-4eea-827f-cbd8ad3ddf1c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-27 11:17:32", "repo_name": "zhang951228/springboo2_guides_web01", "sub_path": "/src/main/java/com/erayt/web01/domain/Student01.java", "file_name": "Student01.java", "file_ext": "java", "file_size_in_byte": 116... | https://github.com/zhang951228/springboo2_guides_web01 | 299 | FILENAME: Student01.java | 0.242206 | package com.erayt.web01.domain;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.hateoas.RepresentationModel;
/**
* @Auther: Z151
* @Date: 2021/8/12 14:27
*/
public class Student01 extends RepresentationModel<Student01> {
pri... |
a335f419-7efa-453a-a29a-5e916a2fa4eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-11 17:10:32", "repo_name": "sates298/Second-Year", "sub_path": "/ProgrammingTechnologies/secondlist/src/test/java/pl/swozniak/TempDatabaseTest.java", "file_name": "TempDatabaseTest.java", "file_ext": "java", "... | https://github.com/sates298/Second-Year | 227 | FILENAME: TempDatabaseTest.java | 0.284576 | package pl.swozniak;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import pl.swozniak.article.Article;
import pl.swozniak.client.Client;
import pl.swozniak.invoice.Invoice;
import java.util.ArrayList;
import static org.junit.Assert.*;
public class TempDatabaseTest {
private TempDataba... |
b75e0f42-02df-4b90-9b6b-50de8c64f721 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-19T07:27:41", "repo_name": "cx265/mye", "sub_path": "/Webservice-client/src/com/atguigu/day01_ws/ws2/GetStudentsByPrice.java", "file_name": "GetStudentsByPrice.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/cx265/mye | 293 | FILENAME: GetStudentsByPrice.java | 0.287768 |
package com.atguigu.day01_ws.ws2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>getStudentsByPrice complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* <complexType name="getStudentsByPrice">
... |
f7d8da9f-be8e-4e03-abd2-9492eb22e4d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-10 02:46:52", "repo_name": "xingtingbiao/springboot-example", "sub_path": "/springboot1/security/src/main/java/com/example/spring/handler/TestArgumentResolver.java", "file_name": "TestArgumentResolver.java", "... | https://github.com/xingtingbiao/springboot-example | 189 | FILENAME: TestArgumentResolver.java | 0.253861 | package com.example.spring.handler;
import com.example.spring.User;
import com.example.spring.annotation.InjectUserInfo;
import org.springframework.core.MethodParameter;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.support.WebDataBinderFactory;
import org.springframework.web.con... |
c49d6b4e-8486-47b0-9aba-47c2374c9e0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-01 08:44:54", "repo_name": "TianXingKeJi/YiKeZhong", "sub_path": "/NeiHanDuanZi/app/src/main/java/com/example/y_xl/neihanduanzi/utils/My_api.java", "file_name": "My_api.java", "file_ext": "java", "file_size_in... | https://github.com/TianXingKeJi/YiKeZhong | 310 | FILENAME: My_api.java | 0.246533 | package com.example.y_xl.neihanduanzi.utils;
/**
* Created by Administrator on 2018/3/26.
*/
public class My_api {
//我的关注
public static final String wodeguanzhu_utils="http://www.yulin520.com/a2a/impressApi/news/mergeList?pageSize=10&page=1";
//热门视频
public static String Hot_video_api = "https://ww... |
01d6087f-e164-430f-ac7b-d31ef4992b85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-24 13:33:48", "repo_name": "rameshmese/calendarapp", "sub_path": "/src/main/java/com/ramesh/calendarapp/dao/UserDao.java", "file_name": "UserDao.java", "file_ext": "java", "file_size_in_byte": 1192, "line_coun... | https://github.com/rameshmese/calendarapp | 239 | FILENAME: UserDao.java | 0.290981 | package com.ramesh.calendarapp.dao;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.Auto... |
844d907f-2682-468d-be7d-5269268baa50 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 13:14:39", "repo_name": "seerdaryilmazz/OOB", "sub_path": "/authorization-service/src/main/java/ekol/authorization/domain/auth/BaseRelation.java", "file_name": "BaseRelation.java", "file_ext": "java", "file... | https://github.com/seerdaryilmazz/OOB | 230 | FILENAME: BaseRelation.java | 0.274351 | package ekol.authorization.domain.auth;
import java.io.Serializable;
import org.apache.commons.lang3.StringUtils;
import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;
import lombok.Data;
@Data... |
a90870f2-329d-48ab-a2f0-5f8a1433886b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-28 02:36:57", "repo_name": "lpzahd/Lpzahd", "sub_path": "/app/src/main/java/com/lpzahd/lpzahd/activity/base/TestSepatateActivity.java", "file_name": "TestSepatateActivity.java", "file_ext": "java", "file_size_... | https://github.com/lpzahd/Lpzahd | 242 | FILENAME: TestSepatateActivity.java | 0.287768 | package com.lpzahd.lpzahd.activity.base;
import android.support.annotation.Nullable;
import android.widget.TextView;
import com.lpzahd.lpzahd.R;
/**
* Created by Administrator on 2016/5/4.
*/
public class TestSepatateActivity extends SeparateBaseActivity{
private SimpleHolder holder;
@Nullable
@Overr... |
a7aa5aca-3ca0-4ef7-b84d-bde60126d029 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-05 07:42:54", "repo_name": "RichaYadav/cmpe273", "sub_path": "/AirlineManagementService/src/sjsu/cmpe273/project/helper/ProjectHelper.java", "file_name": "ProjectHelper.java", "file_ext": "java", "file_size_in... | https://github.com/RichaYadav/cmpe273 | 238 | FILENAME: ProjectHelper.java | 0.288569 | package sjsu.cmpe273.project.helper;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Random;
public class ProjectHelper {
public static void closeStatement(Statement statement) {
if (statement != null) {
try {
statement.close()... |
c7b3cc01-efd5-4e10-b93a-084efa23bba4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-09-28T01:39:51", "repo_name": "Julegirl/HTML-Exercise-1", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1076, "line_count": 30, "lang": "en", "doc_type": "text", "... | https://github.com/Julegirl/HTML-Exercise-1 | 312 | FILENAME: README.md | 0.225417 | # HTML-Exercise-1
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="Beginning Codes.css"/>
<title>What's Up</title>
</head>
<body>
<h1>greeting</h1>
<p>Hello, this is my first attempt at coding for my web bro... |
89b0be18-b45a-47a4-9577-d36fb47bb6c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-18 05:28:22", "repo_name": "sshaiakhmedov/AG", "sub_path": "/src/test/java/LoginPage.java", "file_name": "LoginPage.java", "file_ext": "java", "file_size_in_byte": 995, "line_count": 45, "lang": "en", "doc_typ... | https://github.com/sshaiakhmedov/AG | 190 | FILENAME: LoginPage.java | 0.242206 | import org.openqa.selenium.*;
import org.openqa.selenium.support.*;
import static org.junit.jupiter.api.Assertions.*;
class LoginPage extends Base{
private String URL = "http://the-internet.herokuapp.com/login";
private String title="The Internet";
//Class with elements (Mapping)
@FindBy(id="usernam... |
6da7ff24-5279-428f-9c4a-fc8267d07002 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-01-19 07:45:40", "repo_name": "vladb00mer/PureSelenium", "sub_path": "/src/main/java/pageobjects/HomePage.java", "file_name": "HomePage.java", "file_ext": "java", "file_size_in_byte": 1080, "line_count": 40, "lan... | https://github.com/vladb00mer/PureSelenium | 204 | FILENAME: HomePage.java | 0.289372 | package pageobjects;
import common.Init;
import common.ParentPage;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public cla... |
adb99775-811c-491c-9a2e-de14fa698e79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-09T13:41:40", "repo_name": "ipinfo/java", "sub_path": "/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 1625, "line_count": 50, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/ipinfo/java | 337 | FILENAME: CHANGELOG.md | 0.282196 | # 2.2.0
- Added `isEU`, `CountryFlag`, `CountryCurrency` and `Continent` fields.
- Checking bogon IP locally.
- Upgraded `okhttp` to `4.10.0`.
# 2.1.0
- Added `Relay` and `Service` fields to `io.ipinfo.api.model.Privacy`.
# 2.0.0
Breaking changes:
- `IPInfo` is renamed to `IPinfo`.
- `IPInfoBuilder` is moved into... |
e9e6bb7e-764c-4ded-850d-03b6dd68cbb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-06 01:31:45", "repo_name": "marktowhen/gule-trade", "sub_path": "/src/main/java/com/jingyunbank/etrade/message/service/EmailService.java", "file_name": "EmailService.java", "file_ext": "java", "file_size_in_by... | https://github.com/marktowhen/gule-trade | 235 | FILENAME: EmailService.java | 0.289372 | package com.jingyunbank.etrade.message.service;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;
import com.jingyunbank.core.msg.MessagerManager;
import com.jingyunbank.core.msg.email.EmailSender;
import com.jingyunbank.etrade.api.message.bo.Message;
import com.jingyunbank.e... |
8c7de6af-4d7a-4345-baa9-41ae11402725 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-27 14:47:11", "repo_name": "azerliquid/Point-Of-Sale-with-Java", "sub_path": "/src/config/koneksi.java", "file_name": "koneksi.java", "file_ext": "java", "file_size_in_byte": 1104, "line_count": 40, "lang": "e... | https://github.com/azerliquid/Point-Of-Sale-with-Java | 215 | FILENAME: koneksi.java | 0.245085 | package config;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @author Reza Azmi
*/
public class koneksi {
public static Connection SambungKeDatabase(){
String DRIVER = "com.mysql.jdbc.Driver";
String url = "jdbc:mysql://localhost:3306/projectkp... |
4e1e9c61-5d4c-4e09-8d96-ecc83286a10a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-23 04:38:50", "repo_name": "nakulpatil24/misc_samples", "sub_path": "/HTML-JSP-Javascript-Assignments- Tests/Assignments/JSP_Servlet/ServletAssing/Day 3/Assignment 7/Modified Assignment 5/ConDatabase.java", "f... | https://github.com/nakulpatil24/misc_samples | 209 | FILENAME: ConDatabase.java | 0.262842 | import java.sql.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
/************************************************************/
public class ConDatabase implements ServletContextListener
{
private ServletContext context = null;
/************************************************************/
pu... |
bbf3705d-ff01-4def-873e-f124a6f2365e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-25 12:12:38", "repo_name": "spring-of-mulberry/neusoft", "sub_path": "/upload/src/main/java/com/mulberry/upload/fileloadController.java", "file_name": "fileloadController.java", "file_ext": "java", "file_size_... | https://github.com/spring-of-mulberry/neusoft | 209 | FILENAME: fileloadController.java | 0.23231 | package com.mulberry.upload;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;
import java.io.File... |
694d7884-207d-4f47-b50b-fcfe02f9b5df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-22T01:45:35", "repo_name": "omwan/task-tracker-spa", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1164, "line_count": 29, "lang": "en", "doc_type": "text", "bl... | https://github.com/omwan/task-tracker-spa | 271 | FILENAME: README.md | 0.23092 | # TaskTrackerSpa
## Design choices
- Users can create an account and set a password, but cannot edit their information afterwards, only view it
- Usernames must be unique, passwords cannot be blank
- Tasks are required to have a title, but may be created without an assignee, or later set to not have an assignee
- Tas... |
8430d42e-8318-48c3-b4e2-496bc8cb61f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-02 13:33:08", "repo_name": "laptoprobotica/AICitizens-19066", "sub_path": "/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/drive/userOpModes/robo7u/Mecanisme/Intake.java", "file_name": "Intake.java", "f... | https://github.com/laptoprobotica/AICitizens-19066 | 285 | FILENAME: Intake.java | 0.273574 | package org.firstinspires.ftc.teamcode.drive.userOpModes.robo7u.Mecanisme;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.HardwareMap;
public class Intake {
HardwareMap hwMap;
DcMotor geckoMotor;
DcMotor gearedMotor;
public Intake(HardwareMap ahwMap) {
... |
1702b5aa-86a5-475b-8f44-b2aeca379a8a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-22 01:51:14", "repo_name": "wh0315/BaseFramework", "sub_path": "/app/src/main/java/com/caifulife/baseframework/fargment/SubjectFragment.java", "file_name": "SubjectFragment.java", "file_ext": "java", "file_siz... | https://github.com/wh0315/BaseFramework | 208 | FILENAME: SubjectFragment.java | 0.235108 | package com.caifulife.baseframework.fargment;
import android.content.Intent;
import android.view.View;
import com.caifulife.baseframework.R;
import com.caifulife.baseframework.activity.LoginActivity;
/**
* Created by 皓 on 2017/8/29.
*/
public class SubjectFragment extends BaseFragment implements View.OnClickListe... |
f5c1be35-ffbc-484b-adf8-6c9cd40a50c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-27 18:51:27", "repo_name": "ashirobokov/bank-online", "sub_path": "/payment-selector/src/main/java/ru/ashirobokov/payment/selector/flow/PaymentSelector.java", "file_name": "PaymentSelector.java", "file_ext": "... | https://github.com/ashirobokov/bank-online | 226 | FILENAME: PaymentSelector.java | 0.276691 | package ru.ashirobokov.payment.selector.flow;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.messaging.Message;
import org.springframework.messaging.support.MessageBuilder;
im... |
f109124f-1d0b-4808-bb7a-8dff0c150850 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-01-08 01:39:00", "repo_name": "ssinganamalla/tpr", "sub_path": "/gap/src/com/analysis/action/basic/BasicAjaxActionSupport.java", "file_name": "BasicAjaxActionSupport.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ssinganamalla/tpr | 212 | FILENAME: BasicAjaxActionSupport.java | 0.255344 | package com.analysis.action.basic;
import java.io.InputStream;
import java.io.StringBufferInputStream;
import org.apache.struts2.StrutsException;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;
import com.tickerp... |
52b7aa07-7695-4a96-84c9-7fb02b92a53d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-12 05:00:50", "repo_name": "itskoolsid/dbslPropGen", "sub_path": "/DBSL_ProposalGenerator/src/com/dbsl/proposalgenerator/gui/admin/wizard/solution/form/SolutionAddForm.java", "file_name": "SolutionAddForm.java... | https://github.com/itskoolsid/dbslPropGen | 193 | FILENAME: SolutionAddForm.java | 0.228156 | package com.dbsl.proposalgenerator.gui.admin.wizard.solution.form;
import java.util.Date;
import com.dbsl.proposalgenerator.commons.util.ImageUploadPanel;
import com.vaadin.ui.CustomComponent;
import com.vaadin.ui.DateField;
import com.vaadin.ui.FormLayout;
import com.vaadin.ui.TextField;
@SuppressWarnings("serial")... |
2f47f027-51f3-4274-ae5b-211bb0f161fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-03 07:21:40", "repo_name": "maxwell-nc/RxLiteAdapter", "sub_path": "/adapter/src/main/java/com/maxwell/nc/adapter/RxLiteCallAdapterFactory.java", "file_name": "RxLiteCallAdapterFactory.java", "file_ext": "java... | https://github.com/maxwell-nc/RxLiteAdapter | 230 | FILENAME: RxLiteCallAdapterFactory.java | 0.285372 | package com.maxwell.nc.adapter;
import com.github.maxwell.nc.reactivelib.Publisher;
import java.lang.annotation.Annotation;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import retrofit2.CallAdapter;
import retrofit2.Response;
import retrofit2.Retrofit;
/**
* RxLite请求适配器工厂
*/
public c... |
0e994194-fa96-4f3a-b901-c2dd533205de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-07 15:10:17", "repo_name": "CS601-F18/project-3-ksonar", "sub_path": "/src/main/java/HTTP/SomeApplication.java", "file_name": "SomeApplication.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count"... | https://github.com/CS601-F18/project-3-ksonar | 250 | FILENAME: SomeApplication.java | 0.279042 | package HTTP;
import java.io.IOException;
/*
* Driver class, sets up server with data from config file and correct mappings
* @author ksonar
*/
public class SomeApplication {
public static void main(String[] args) throws SecurityException, IOException {
LogData.createLogger();
HTTPServer server = new HTTPSer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.