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 |
|---|---|---|---|---|---|---|
36631447-4be8-4586-8347-02f0196f08dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-04 14:14:13", "repo_name": "essweinjacob/School", "sub_path": "/Java/Project5/main.java", "file_name": "main.java", "file_ext": "java", "file_size_in_byte": 1061, "line_count": 38, "lang": "en", "doc_type": "c... | https://github.com/essweinjacob/School | 247 | FILENAME: main.java | 0.286968 | import java.util.*;
public class main{
public static void main(String[] args) {
List<creatures> Animals = new ArrayList<creatures>();
Animal lion = new Animal("Lion");
Animals.add(lion);
Animal dog = new Animal("Dog");
Animals.add(dog);
Animal cat = new Animal("Cat"... |
38903733-2108-4470-9023-6163e6b88c60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-14 09:45:53", "repo_name": "xybxjb/repo", "sub_path": "/proxy_manage/src/main/java/cn/deepcoding/controller/ExamNameController.java", "file_name": "ExamNameController.java", "file_ext": "java", "file_size_in_b... | https://github.com/xybxjb/repo | 247 | FILENAME: ExamNameController.java | 0.272025 | package cn.deepcoding.controller;
import java.util.List;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframe... |
31dec9ae-8dad-426b-94bb-0792f26af3a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 13:14:39", "repo_name": "seerdaryilmazz/OOB", "sub_path": "/crm-quote-service/src/main/java/ekol/crm/quote/domain/dto/authorizationservice/Subsidiary.java", "file_name": "Subsidiary.java", "file_ext": "java... | https://github.com/seerdaryilmazz/OOB | 227 | FILENAME: Subsidiary.java | 0.224055 | package ekol.crm.quote.domain.dto.authorizationservice;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import ekol.model.IdNamePair;
import java.util.HashSet;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Subsidiary {
private Long id;
private String name;
... |
be00976e-f9ef-407b-9686-9faf2d91f680 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-07 06:50:11", "repo_name": "tintinfairy/javabegin", "sub_path": "/src/main/java/myserver/handlers/GreetingHandler.java", "file_name": "GreetingHandler.java", "file_ext": "java", "file_size_in_byte": 1133, "lin... | https://github.com/tintinfairy/javabegin | 209 | FILENAME: GreetingHandler.java | 0.271252 | package myserver.handlers;
import java.io.IOException;
import java.net.Socket;
import java.util.Map;
import myserver.Session;
import myserver.SessionCollector;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
public class GreetingHandler ex... |
58e8f034-7835-40e4-ab56-b593350cde46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-02-27T21:42:15", "repo_name": "savvytruffle/Astr511", "sub_path": "/HW2015/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1233, "line_count": 34, "lang": "en", "doc_type": "text"... | https://github.com/savvytruffle/Astr511 | 410 | FILENAME: README.md | 0.29584 | * ipython notebooks with homework projects for Astr 511 class from Winter 2015
All assignments (and supporting files) are linked to
http://www.astro.washington.edu/users/ivezic/t_astr511.html
The first homework notebooks should go to
Astr511/HW2015/Project1
Name your notebooks, using -your- last name (not "ivezic")... |
0497b17f-4939-486c-93ec-75273d93b50c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-02 13:11:57", "repo_name": "code-crusher/udacity-buildItBigger", "sub_path": "/joker/src/main/java/github/vatsal/joker/Joker.java", "file_name": "Joker.java", "file_ext": "java", "file_size_in_byte": 1032, "li... | https://github.com/code-crusher/udacity-buildItBigger | 227 | FILENAME: Joker.java | 0.282988 | package github.vatsal.joker;
import java.util.Random;
public class Joker {
// no object initialisation
private Joker() {
}
private static final Random random = new Random();
private static final String[] NERDY_JOKES = {
"There are only 10 types of people in the world: those that und... |
0be1ba7a-d018-460e-b367-770fcc638373 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-22 02:02:19", "repo_name": "cc-ohayou/cc-boot-demo", "sub_path": "/src/main/java/com/qunhe/toilet/facade/domain/common/enums/toilet/SexTypeEnum.java", "file_name": "SexTypeEnum.java", "file_ext": "java", "file... | https://github.com/cc-ohayou/cc-boot-demo | 293 | FILENAME: SexTypeEnum.java | 0.273574 | package com.qunhe.toilet.facade.domain.common.enums.toilet;
/**
* @Author bupo
* @DATE 2020/8/21 15:27
* @Description
*/
public enum SexTypeEnum {
WOMAN(0,"woman","女士"),
MAN(1,"man","男士"),
BOTH(2,"both","共用型"),
;
private int typeId;
private String dbType;
private String describe;
... |
4dbda64f-02e5-40e4-b588-5a79fb7e118e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-01 07:23:58", "repo_name": "santhoshrajr/UserAlbum-AndroidApp", "sub_path": "/app/src/main/java/com/example/santh/useralbum/adapters/UserAdapter.java", "file_name": "UserAdapter.java", "file_ext": "java", "fil... | https://github.com/santhoshrajr/UserAlbum-AndroidApp | 206 | FILENAME: UserAdapter.java | 0.285372 | package com.example.santh.useralbum.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.example.santh.useralbum.Models.Users;
import com.example.santh.usera... |
4405a11b-78f9-4a7d-98bd-61bea894cb97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-09 23:15:40", "repo_name": "Jegp/gradleexample", "sub_path": "/src/main/java/dk/cphbusiness/gradleexample/RestService.java", "file_name": "RestService.java", "file_ext": "java", "file_size_in_byte": 1132, "lin... | https://github.com/Jegp/gradleexample | 257 | FILENAME: RestService.java | 0.236516 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dk.cphbusiness.gradleexample;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs... |
4844ec06-d657-43c0-90c1-566fcbf77dca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-10 12:14:05", "repo_name": "raoshibin/JavaWebDemo2012", "sub_path": "/Demo0308/src/Demo02Servlet.java", "file_name": "Demo02Servlet.java", "file_ext": "java", "file_size_in_byte": 1172, "line_count": 31, "lang... | https://github.com/raoshibin/JavaWebDemo2012 | 246 | FILENAME: Demo02Servlet.java | 0.242206 | 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 java.io.IOException;
/**
* @Author 饶世斌
* @Date 2021/3/8 11:26
* @Version 1.0
* @describe
*/
... |
8cd70b0e-3128-4c0f-a833-084a3c9b2de5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-11T19:21:57", "repo_name": "KhaosSystems/Inari", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1218, "line_count": 24, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/KhaosSystems/Inari | 296 | FILENAME: README.md | 0.216012 | <div align="center">
<img src="images/logo.png" alt="Logo" width="80%">
<h3 align="center">Inari</h3>
<p align="center">
Custom pickers & control UIs.
<br />
<a href="https://khaos.systems/"><strong>By Khaos Systems</strong></a>
<br /><br />
<a href="#">Setup Guide</a... |
c7dc3861-79bb-4c3d-b30b-8e8265e3f0c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-04 14:17:45", "repo_name": "liqian008/geekway", "sub_path": "/geekway-model/src/main/java/com/bruce/geekway/model/data/JsonResultBean.java", "file_name": "JsonResultBean.java", "file_ext": "java", "file_size_i... | https://github.com/liqian008/geekway | 246 | FILENAME: JsonResultBean.java | 0.243642 | package com.bruce.geekway.model.data;
/**
* 对数据的json包装,ajax请求及mcp共用此数据类型
*
* @author liqian
*
*/
public class JsonResultBean{
private int result;
private int errorcode;
private String message;
private Object data;
public JsonResultBean() {
super();
}
public Jso... |
c0363522-c8bb-488c-9d03-b0dc4234f25f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-05 03:31:58", "repo_name": "namimono/zhny", "sub_path": "/src/main/java/org/rcisoft/entity/BusProjectSaving.java", "file_name": "BusProjectSaving.java", "file_ext": "java", "file_size_in_byte": 1233, "line_cou... | https://github.com/namimono/zhny | 313 | FILENAME: BusProjectSaving.java | 0.26588 | package org.rcisoft.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table ( name ="bus_pr... |
39f5c99f-ac67-40ac-9f83-fe518793277b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-29 14:25:37", "repo_name": "Earthcomputer/VersionIndependentMods", "sub_path": "/vimapi/src/main/java/net/earthcomputer/vimapi/core/classfinder/FinderDedicatedServer.java", "file_name": "FinderDedicatedServer.... | https://github.com/Earthcomputer/VersionIndependentMods | 249 | FILENAME: FinderDedicatedServer.java | 0.267408 | package net.earthcomputer.vimapi.core.classfinder;
import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.FieldNode;
import org.objectweb.asm.tree.MethodNode;
public class FinderDedicatedServer implements IFinder {
@Override
public void accept(String className, ClassConstants constants, ClassNode n... |
9a708040-37a5-4f06-814b-9a149ee7b8c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-21 12:26:19", "repo_name": "gyulchyoung/weather_app", "sub_path": "/app/src/main/java/com/example/Magic_CnyangE/weather_alarm/AlarmDatabase.java", "file_name": "AlarmDatabase.java", "file_ext": "java", "file_s... | https://github.com/gyulchyoung/weather_app | 210 | FILENAME: AlarmDatabase.java | 0.26971 | package com.example.Magic_CnyangE.weather_alarm;
import android.content.Context;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;
@Database(entities = {Alarm.class}, version = 1, exportSchema = false)
@TypeConverters({Converter.class})
... |
41e7bf20-2855-4d50-88c0-e1926fa2666c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-16 18:17:49", "repo_name": "Java-19/16_03_18", "sub_path": "/app/src/main/java/com/sheygam/java_19_16_03_18/NameActivity.java", "file_name": "NameActivity.java", "file_ext": "java", "file_size_in_byte": 992, "... | https://github.com/Java-19/16_03_18 | 190 | FILENAME: NameActivity.java | 0.247987 | package com.sheygam.java_19_16_03_18;
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 NameActivity extends AppCompatActivity implements View.OnClickListener {
... |
ed6c9000-c167-4117-a6e9-8780f69bc90d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-28 13:50:16", "repo_name": "irynaaleinik/java_mentoring", "sub_path": "/src/main/java/salad/Salad.java", "file_name": "Salad.java", "file_ext": "java", "file_size_in_byte": 1034, "line_count": 43, "lang": "en"... | https://github.com/irynaaleinik/java_mentoring | 222 | FILENAME: Salad.java | 0.295027 | package salad;
import ingredient.Vegetable;
import javax.xml.bind.ValidationEvent;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Set;
public abstract class SaladTemplate {
Set<Vegetable> ingredients;
int saladCalories = 0;
public SaladTemplate (Set<V... |
9a1677f2-f805-440d-bd17-1c0c88723f7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-09 04:56:57", "repo_name": "nareshkumar7593/LeetCode", "sub_path": "/src/LeetCodeUberPairsWithEqualSums.java", "file_name": "LeetCodeUberPairsWithEqualSums.java", "file_ext": "java", "file_size_in_byte": 1001,... | https://github.com/nareshkumar7593/LeetCode | 259 | FILENAME: LeetCodeUberPairsWithEqualSums.java | 0.250913 | import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
// worst Brute Force solution
public class LeetCodeUberPairsWithEqualSums {
static int[] inputs = {9,4,3,1,7,12};
static List<List<Integer>> al = new ArrayList<>();
public static void main(String[] args) {
int sum = 0;
for(int... |
2d48d06c-86a4-42cd-aa27-36ca76a831c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-17 09:50:08", "repo_name": "gqpibd/kh_chicken", "sub_path": "/khChicken_client/src/utils/images/LabelEventListener.java", "file_name": "LabelEventListener.java", "file_ext": "java", "file_size_in_byte": 1019, ... | https://github.com/gqpibd/kh_chicken | 211 | FILENAME: LabelEventListener.java | 0.277473 | package utils.images;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JLabel;
import javax.swing.border.EtchedBorder;
public class LabelEventListener extends MouseAdapter{
ActionListener l... |
3e5a592c-7f45-4208-bc66-61adb821ca01 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-07 20:20:39", "repo_name": "msgovea/listbuy", "sub_path": "/appv2/app/app/src/main/java/listbuy/me/listbuy/lista/Sincronizacoes/SincronizaListarListas.java", "file_name": "SincronizaListarListas.java", "file_e... | https://github.com/msgovea/listbuy | 249 | FILENAME: SincronizaListarListas.java | 0.288569 | package listbuy.me.listbuy.lista.Sincronizacoes;
import android.os.AsyncTask;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
imp... |
47ed877c-12d1-42ce-8112-ca4e699e1b33 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-06 18:28:06", "repo_name": "pradeepkaushal/strimzi", "sub_path": "/common-test/src/main/java/io/strimzi/test/k8s/OpenShift.java", "file_name": "OpenShift.java", "file_ext": "java", "file_size_in_byte": 860, "l... | https://github.com/pradeepkaushal/strimzi | 251 | FILENAME: OpenShift.java | 0.255344 | /*
* Copyright 2017-2018, Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.test.k8s;
public class OpenShift implements KubeCluster {
private static final String OC = "oc";
@Override
public boolean isAvailable() ... |
293743c0-470d-46c8-b46c-79bd059af6e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-19 10:21:29", "repo_name": "ThornJuice/LearnAndroid", "sub_path": "/library/src/main/java/com/a360vrsh/library/util/KeyBoardUtil.java", "file_name": "KeyBoardUtil.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ThornJuice/LearnAndroid | 233 | FILENAME: KeyBoardUtil.java | 0.228156 | package com.a360vrsh.library.util;
import android.app.Activity;
import android.content.Context;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
/**
* @author: wxj
* @date: 2020/10/13
* @description:
*/
public class KeyBoardUtil {
//此方法只是关闭软键盘
public static void hintKbTw... |
480cdee6-e007-4358-89b8-4dc72e5e95c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-01 19:29:58", "repo_name": "cClaude/cchlib", "sub_path": "/cchlib-i18n/src/main/java/com/googlecode/cchlib/i18n/core/resolve/IndexKV.java", "file_name": "IndexKV.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/cClaude/cchlib | 194 | FILENAME: IndexKV.java | 0.283781 | package com.googlecode.cchlib.i18n.core.resolve;
import java.io.Serializable;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
*
*/
abstract /*not public*/ class IndexKV implements Serializable, Iterable<String>
{
private static final long serialVersionUID = 1L;
public IndexKV()
... |
fe560993-fb8b-4db3-8ad5-ba95d101d01d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-06-10T03:18:46", "repo_name": "Charchit26/RAMLTest", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1126, "line_count": 19, "lang": "en", "doc_type": "text", "blob_... | https://github.com/Charchit26/RAMLTest | 241 | FILENAME: README.md | 0.295027 | # RAMLTest
This is a demo RAML of an API to satisfy the following conditions:
List customers
Create a new customer
Update a customer
Deletes a customerD
The RAML pack was designed using "Desing Center" provided by Mulesoft Anypoint platform.
It has 4 basic CRUD operation capability - GET, POST, PUT and DELETE.
I hav... |
2e4866ee-4083-4fb8-b4cd-06147338bf2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-21 01:28:40", "repo_name": "omkar0613/Android--Programming-Stuff", "sub_path": "/Mobile Contact/app/src/main/java/com/example/user/contact/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "jav... | https://github.com/omkar0613/Android--Programming-Stuff | 222 | FILENAME: MainActivity.java | 0.253861 | package com.example.user.contact;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import an... |
24507a07-6092-4212-b615-a9da5b0d3947 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-10 14:50:31", "repo_name": "Arnament1007/elementary", "sub_path": "/src/main/java/hw_4/entities/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1071, "line_count": 47, "lang"... | https://github.com/Arnament1007/elementary | 205 | FILENAME: Client.java | 0.275909 | package hw_4.entities;
import java.util.Scanner;
public class Client {
String clientID;
String surname;
String clientAccID;
double suma;
public Client recordClientID (){
Client recordClientID = new Client();
Scanner scanner = new Scanner(System.in);
clientID = scanner.next... |
4f01611e-5b40-4e2e-b216-8106c684c69c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-01 08:31:34", "repo_name": "LWHTarena/lwh-example", "sub_path": "/lwh-redis2020/lwh-redisson/src/test/java/com/lwhtarena/lettuce/BasicUsage.java", "file_name": "BasicUsage.java", "file_ext": "java", "file_size... | https://github.com/LWHTarena/lwh-example | 274 | FILENAME: BasicUsage.java | 0.246533 | package com.lwhtarena.lettuce;
import io.lettuce.core.ClientOptions;
import io.lettuce.core.RedisClient;
import io.lettuce.core.api.StatefulRedisConnection;
import io.lettuce.core.api.sync.RedisStringCommands;
import io.lettuce.core.resource.ClientResources;
/**
* @author liwh
* @version 1.0
* @date 2021/04/18 17:... |
3486e7a3-946b-4053-a773-91faabe02915 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-27 01:35:45", "repo_name": "sakaev2901/chat", "sub_path": "/Multichat Jackson/Server/src/main/java/models/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_byte": 1133, "line_count"... | https://github.com/sakaev2901/chat | 226 | FILENAME: Message.java | 0.253861 | package models;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.text.SimpleDateFormat;
import java.util.Calendar;
@Data
@AllArgsConstructor
@Builder
public class Message {
private String text;
private String timeStamp;
private Stri... |
431f8344-5d4d-4f53-96dd-0006c0707263 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-17 12:43:19", "repo_name": "chEv1337/ars_riedl", "sub_path": "/src/GetReservationNumber.java", "file_name": "GetReservationNumber.java", "file_ext": "java", "file_size_in_byte": 1132, "line_count": 33, "lang":... | https://github.com/chEv1337/ars_riedl | 198 | FILENAME: GetReservationNumber.java | 0.27048 | import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import javax.servlet.http.HttpSession;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
@Named
@SessionScoped
public class GetReservationNumber i... |
d6e55d40-2100-4184-8900-3c284e7779ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-13 14:44:12", "repo_name": "shadowforyou/shadowforyou.github.io", "sub_path": "/src/main/java/com/poi/testpoi/util/IsRowNull.java", "file_name": "IsRowNull.java", "file_ext": "java", "file_size_in_byte": 1271,... | https://github.com/shadowforyou/shadowforyou.github.io | 361 | FILENAME: IsRowNull.java | 0.284576 | package com.poi.testpoi.util;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
public class IsRowNull {
/**
* 判断行是否为空
*
* @param row
* @return
*/
public Boolean rowIsNull(Row row) {
for (int c = row.getFirstCellNum(); c < row.getLastCellNum(); c++) {
Cell cell = row.g... |
b394ab72-594e-4856-9b17-f548babfac38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-05 18:47:23", "repo_name": "zhaoseast/WechatMoments", "sub_path": "/app/src/main/java/com/example/zhaoseast/wechatmoments/LoadingActivity.java", "file_name": "LoadingActivity.java", "file_ext": "java", "file_s... | https://github.com/zhaoseast/WechatMoments | 232 | FILENAME: LoadingActivity.java | 0.216012 | package com.example.zhaoseast.wechatmoments;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import com.example.zhaoseast.wechatmoments.activity.baseActivity.WeChatBaseActivity;
/**
* @Description:欢迎页载入
* @Createdtime:2019/1/3 17:46
* @Author:Zhaohd
* @Version: V.1.0.0
*/
pub... |
a8ceca8d-09e2-46d9-b984-ba050c7a1fbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-20T02:10:40", "repo_name": "knetsteller/Mobile_Engenharia-de-Software", "sub_path": "/src/br/ufg/inf/RegisterActivity.java", "file_name": "RegisterActivity.java", "file_ext": "java", "file_size_in_byte": 1018,... | https://github.com/knetsteller/Mobile_Engenharia-de-Software | 177 | FILENAME: RegisterActivity.java | 0.233706 | package br.ufg.inf;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class RegisterActivity {
EditText txtNome;
EditText txtEmail;
public void onCreate(Bundle savedInstanceStat... |
1fa0d1fc-0316-4de0-a148-74f9d448e140 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-18T18:13:50", "repo_name": "rfaugeroux/captain", "sub_path": "/src/main/java/com/liveramp/captain/notifier/DefaultCaptainLoggingNotifier.java", "file_name": "DefaultCaptainLoggingNotifier.java", "file_ext": "j... | https://github.com/rfaugeroux/captain | 231 | FILENAME: DefaultCaptainLoggingNotifier.java | 0.255344 | package com.liveramp.captain.notifier;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DefaultCaptainLoggingNotifier implements CaptainNotifier {
private static final Logger LOG = LoggerFactory.getLogger(DefaultCaptainLoggingNotifier.cla... |
a0a0ccbe-0940-47d3-be45-0f436d6494b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-23 07:04:30", "repo_name": "enchenDai/grampusMiddle", "sub_path": "/src/main/java/com/deepblue/middleware/service/enums/PalmTypeEnum.java", "file_name": "PalmTypeEnum.java", "file_ext": "java", "file_size_in_b... | https://github.com/enchenDai/grampusMiddle | 251 | FILENAME: PalmTypeEnum.java | 0.256832 | package com.deepblue.middleware.service.enums;
/**
* Created by enchen on 10/10/17.
*/
public enum PalmTypeEnum {
ADD_TYPE("1", "新增注册"),
UPDATE_TYPE("2", "更新注册"),
DELETE_TYPE("3", "删除会员");
private final String typeCode;
private final String typeName;
/**
* @param typeCode
* @par... |
54d3e60a-d444-46c8-9e35-4b13e4585f51 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-19 18:46:42", "repo_name": "JitendraSharma23/MyAutomationCode", "sub_path": "/TerminusPro/src/main/java/com/terminus/pageHelper/LoginPageHelper.java", "file_name": "LoginPageHelper.java", "file_ext": "java", "... | https://github.com/JitendraSharma23/MyAutomationCode | 189 | FILENAME: LoginPageHelper.java | 0.279828 | package com.terminus.pageHelper;
import org.junit.Assert;
import org.openqa.selenium.WebDriver;
import com.terminus.pageObjects.LoginPageObject;
public class LoginPageHelper extends LoginPageObject {
public LoginPageHelper(WebDriver driver) {
super(driver);
}
public void Enter_Invalid_UserNa... |
5c7dc195-efdc-45dd-a4f2-939ec8898145 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-09 14:30:43", "repo_name": "ndmnh/Tryout2---Copy---Copy", "sub_path": "/app/src/main/java/com/example/syuqri/tryout2/SettingsFragment.java", "file_name": "SettingsFragment.java", "file_ext": "java", "file_size... | https://github.com/ndmnh/Tryout2---Copy---Copy | 187 | FILENAME: SettingsFragment.java | 0.196826 | package com.example.syuqri.tryout2;
import android.app.Fragment;
import android.app.FragmentManager;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.view.LayoutInflater;
import android.view.View;
import android.vie... |
d6a6ba24-360d-4a05-a05b-b0396cea1edf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-29T20:34:19", "repo_name": "tpaksu/tpaksu", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1266, "line_count": 20, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/tpaksu/tpaksu | 380 | FILENAME: README.md | 0.242206 | # Hi there 🤟
<img src='https://media.giphy.com/media/dlMIwDQAxXn1K/giphy.gif' style='width: 100%'><br><br>
I'm Taha PAKSU 👋, a coder like most of you, who makes his and his family's living 💰 from writing code.
I write mostly PHP, C# (and .net core) and javascript (vanilla, jquery, vue) about 15+ years ⚒ (yes I fe... |
4408021d-890f-4d65-8bd0-eb9ad3e5c455 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-22 12:58:59", "repo_name": "yuanpeili/springBoot", "sub_path": "/src/main/java/com/lpy/marks/service/impl/CityServiceImpl.java", "file_name": "CityServiceImpl.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/yuanpeili/springBoot | 216 | FILENAME: CityServiceImpl.java | 0.26588 | package com.lpy.marks.service.impl;
import com.lpy.marks.dao.CityDao;
import com.lpy.marks.model.City;
import com.lpy.marks.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class CityServiceImpl implements CityService {
... |
6f3e881c-37d9-4c22-b31f-6fbab4a13f75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-11 16:18:05", "repo_name": "alvaromrb/LunarClient-API", "sub_path": "/src/main/java/net/silexpvp/lunar/packet/impl/LCPacketServerRule.java", "file_name": "LCPacketServerRule.java", "file_ext": "java", "file_si... | https://github.com/alvaromrb/LunarClient-API | 220 | FILENAME: LCPacketServerRule.java | 0.245085 | package net.silexpvp.lunar.packet.impl;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import net.silexpvp.lunar.packet.LCPacket;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
@RequiredArgsConstructor
public class LCPacketServerRule implements LCPacket {
private final Rule rule... |
39d51a0a-99a8-4f28-81d8-ee808655af3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-12 18:06:06", "repo_name": "humzafaiz1/DemonsSoulsTrophyApp", "sub_path": "/DemonsSoulsApp/app/src/main/java/com/bluenarwhal/demonssoulsapp/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "ja... | https://github.com/humzafaiz1/DemonsSoulsTrophyApp | 234 | FILENAME: MainActivity.java | 0.236516 | package com.bluenarwhal.demonssoulsapp;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ScrollView;
public class MainActivity extends AppCompatActivity {
private Button trophies... |
deee837f-8d36-4448-9d60-be0e1eb5d1e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-03-09T15:28:45", "repo_name": "pairshaped/pairshaped.ca", "sub_path": "/source/blog/ios-development-with-ruby-motion.md", "file_name": "ios-development-with-ruby-motion.md", "file_ext": "md", "file_size_in_by... | https://github.com/pairshaped/pairshaped.ca | 259 | FILENAME: ios-development-with-ruby-motion.md | 0.194368 | ---
title: "iOS Development with Ruby Motion"
date: 2012-10-24
tags: [ios, ruby]
author: "Dave Rapin"
published: true
---
I've been building an iOS app with RubyMotion for a while now, and the verdict is...
I'm in love with [RubyMotion](http://www.rubymotion.com/).
Here's why:
* Ruby syntax runs circles around Obje... |
6f3a1d65-68dc-494f-b9b0-f84923cb3dd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-16 01:46:18", "repo_name": "hzr958/myProjects", "sub_path": "/scmv6/center-batch/src/main/java/com/smate/center/batch/service/pub/mq/CniprPubCacheAssignProducer.java", "file_name": "CniprPubCacheAssignProducer... | https://github.com/hzr958/myProjects | 292 | FILENAME: CniprPubCacheAssignProducer.java | 0.286968 | package com.smate.center.batch.service.pub.mq;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.smate.center.batch.exception.pub.ServiceException;
import com.smate.center.batch.service.rol.pub.InsPortalManager;
/**
*
* 发送CNIPR成果XML到单位.
*
... |
17c12985-3efa-4e9c-99d7-9e2c6fa2fee8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-11 12:04:44", "repo_name": "waynetrx/MHCI4", "sub_path": "/app/src/main/java/com/mhci4/mhci4/fragments/MapDialogFragment.java", "file_name": "MapDialogFragment.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/waynetrx/MHCI4 | 190 | FILENAME: MapDialogFragment.java | 0.20947 | package com.mhci4.mhci4.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.mhci4.mhci4.R;
public class Ma... |
416b360f-3d9d-4330-886c-4b3dfee6bede | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-01 21:15:51", "repo_name": "Aurawin/Core", "sub_path": "/src/main/java/com/aurawin/core/rsr/def/http/Restful.java", "file_name": "Restful.java", "file_ext": "java", "file_size_in_byte": 1055, "line_count": 41,... | https://github.com/Aurawin/Core | 222 | FILENAME: Restful.java | 0.256832 | package com.aurawin.core.rsr.def.http;
import com.aurawin.core.array.KeyPairs;
import com.aurawin.core.stream.MemoryStream;
import static com.aurawin.core.lang.Table.CRLF;
public class Restful {
public String Method;
public String NamespacePlugin;
public String NamespaceEntry;
public KeyPairs Headers... |
32ce8051-301b-4016-be4b-83b7f3313deb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-14T13:23:03", "repo_name": "ting11222001/A-Basic-Real-Time-Weather-App", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1236, "line_count": 23, "lang": "en", "do... | https://github.com/ting11222001/A-Basic-Real-Time-Weather-App | 270 | FILENAME: README.md | 0.294215 | # Creating a Real Time Weather App in Flask Using Python requests and geocoder
This is the complete source code of my article on Medium: <br>
https://medium.com/li-ting-liao-tiffany/creating-a-real-time-weather-app-in-flask-using-python-requests-and-geocoder-f6a2be3f8b31
## What I’m going to make and Why I’m doing it
... |
f49c9b64-0890-428d-89a8-7b26e9cf624b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-27 01:11:33", "repo_name": "ChungYuCheng/AccountingApp", "sub_path": "/app/src/main/java/com/joe/accountingapp/ui/settings/SettingsViewModel.java", "file_name": "SettingsViewModel.java", "file_ext": "java", "f... | https://github.com/ChungYuCheng/AccountingApp | 189 | FILENAME: SettingsViewModel.java | 0.206894 | package com.joe.accountingapp.ui.settings;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.joe.accountingapp.bean.MoreFunction;
import java.util.ArrayList;
public class SettingsViewModel extends ViewModel {
private MutableLiveData<S... |
ae258050-f818-433d-9a1a-8e97ce87bad9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-16 19:40:40", "repo_name": "rcostadresch/Cadastro-de-anuncios-SPARK", "sub_path": "/sistema/src/command/ScreenUpdateAnuncioCommand.java", "file_name": "ScreenUpdateAnuncioCommand.java", "file_ext": "java", "fi... | https://github.com/rcostadresch/Cadastro-de-anuncios-SPARK | 183 | FILENAME: ScreenUpdateAnuncioCommand.java | 0.267408 | package command;
import static init.Main.entityManagerFactory;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.persistence.EntityManager;
import model.Anuncio;
import model.Pessoa;
import spark.Request;
import ... |
59eca465-d426-4604-921c-ba8fe0cd5d55 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-01T09:38:12", "repo_name": "antleaf/jct-user-stories", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 975, "line_count": 29, "lang": "en", "doc_type": "text", "b... | https://github.com/antleaf/jct-user-stories | 216 | FILENAME: README.md | 0.236516 | # JCT User Stories
This repository is for collecting, discussing and categorising user stories supporting the development of the Plan S Journal Tracking Tool.
## About User Stories
User stories are terse descriptions of a feature told from the perspective of the person who desires the new capability, usually a **user... |
9dacbb87-441f-458e-9ed3-393b58ea9a02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-30 09:47:56", "repo_name": "bijoyoitl/MyAcademy", "sub_path": "/app/src/main/java/com/edu/myacademy/Model/RegisterInfo.java", "file_name": "RegisterInfo.java", "file_ext": "java", "file_size_in_byte": 1133, "l... | https://github.com/bijoyoitl/MyAcademy | 238 | FILENAME: RegisterInfo.java | 0.23231 | package com.edu.myacademy.Model;
/**
* Created by Bijoy on 10/19/2016.
*/
public class RegisterInfo {
private String name;
private String email;
private String userType;
private String classType;
private String password;
private String con_password;
//
public RegisterInfo(String email, S... |
03eaba45-2619-4ff4-8367-398bfce44917 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-08-28T20:35:57", "repo_name": "vanam/ncs-vagrant", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1118, "line_count": 43, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/vanam/ncs-vagrant | 288 | FILENAME: README.md | 0.276691 | # Nette Coding Standard Vagrant Project
[](/LICENSE)
This project allows you to run a [Nette Coding Standard](https://github.com/nette/coding-standard/) check&fix in environments with PHP <7.1.
## Usage
### Install
Install [Vagrant](https://www.vagran... |
ac1a402b-7188-45e0-900a-de697fd87ac6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-14 22:35:18", "repo_name": "chrisblutz/trinity-legacy-2", "sub_path": "/src/main/java/com/github/chrisblutz/trinity/parser/sources/FileSourceEntry.java", "file_name": "FileSourceEntry.java", "file_ext": "java"... | https://github.com/chrisblutz/trinity-legacy-2 | 244 | FILENAME: FileSourceEntry.java | 0.273574 | package com.github.chrisblutz.trinity.parser.sources;
import com.github.chrisblutz.trinity.parser.SourceEntry;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/**
* @author Christopher Lutz
*/
public class FileSourceEntry implements Sou... |
c22afca7-dbb8-41e7-84c8-9dd928539f9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-28 04:15:19", "repo_name": "deividfsantos/bdd-cucumber-junit", "sub_path": "/src/main/java/com/deividsantos/bdd/service/ClientService.java", "file_name": "ClientService.java", "file_ext": "java", "file_size_in... | https://github.com/deividfsantos/bdd-cucumber-junit | 191 | FILENAME: ClientService.java | 0.250913 | package com.deividsantos.bdd.service;
import com.deividsantos.bdd.dto.Client;
import com.deividsantos.bdd.repository.ClientRepository;
import com.deividsantos.bdd.restClient.CountryClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.io.IOEx... |
4d059654-9a45-4b95-9cc5-dbd77c3f3e4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-29 15:59:34", "repo_name": "manoj19824/ecommapp", "sub_path": "/src/main/java/com/github/hse24/converter/ProductResourceConverter.java", "file_name": "ProductResourceConverter.java", "file_ext": "java", "file_... | https://github.com/manoj19824/ecommapp | 205 | FILENAME: ProductResourceConverter.java | 0.287768 | package com.github.hse24.converter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.hateoas.mvc.ResourceAssemblerSupport;
import org.springframework.stereotype.Component;
import io.jsonwebtoken.lang.Collections;
import com.github.hse24.controller.ProductController;
import com... |
9949debf-9492-4b5a-a4c1-99380c5207f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-07 09:22:09", "repo_name": "TurimarlaSrivani/CG-Assignment", "sub_path": "/inheritance/Accountt.java", "file_name": "Accountt.java", "file_ext": "java", "file_size_in_byte": 977, "line_count": 51, "lang": "en"... | https://github.com/TurimarlaSrivani/CG-Assignment | 244 | FILENAME: Accountt.java | 0.27513 | package inheritance;
public class Accountt {
private long accNum;
private double balance;
private Person accHolder;
Accountt(){
}
Accountt(long accNum,double balance,Person accHolder){
this.accNum = accNum;
this.balance=balance;
this.accHolder=accHolder;
}
Accountt(String name,float age,lo... |
f53f4e9a-4697-426a-8f73-22534de17089 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-29 10:19:37", "repo_name": "DDTDDTfun/rayact_pc", "sub_path": "/api/src/main/java/com/bra/modules/reserve/service/FieldService.java", "file_name": "FieldService.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/DDTDDTfun/rayact_pc | 220 | FILENAME: FieldService.java | 0.261331 | package com.bra.modules.reserve.service;
import com.bra.common.service.CrudService;
import com.bra.modules.reserve.dao.FieldDao;
import com.bra.modules.reserve.entity.ReserveField;
import com.bra.modules.reserve.entity.ReserveProject;
import com.bra.modules.reserve.entity.ReserveVenue;
import com.google.common.collect... |
37a473a8-151a-4d60-9d49-1908cb5f9bc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-22 18:56:23", "repo_name": "Vladyslav-Frolov/EPAM_HW_11_0113", "sub_path": "/src/main/java/info/vladyslav/EPAM_HW_11_0113/model/Skill.java", "file_name": "Skill.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/Vladyslav-Frolov/EPAM_HW_11_0113 | 235 | FILENAME: Skill.java | 0.255344 | package info.vladyslav.EPAM_HW_11_0113.model;
import java.util.Objects;
public class Skill {
private Long id;
private String skill;
public Skill() {
}
public Skill(Long id, String skill) {
this.id = id;
this.skill = skill;
}
public Long getId() {
return id;
}... |
e703612a-e7dc-4150-81b4-36c6aea6e8be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-12 12:36:08", "repo_name": "altugcagri/boun-swe-574", "sub_path": "/backend/src/test/java/com/fellas/bespoke/controller/UserControllerTest.java", "file_name": "UserControllerTest.java", "file_ext": "java", "fi... | https://github.com/altugcagri/boun-swe-574 | 216 | FILENAME: UserControllerTest.java | 0.280616 | package com.fellas.bespoke.controller;
import com.fellas.bespoke.service.UserService;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
public class UserControllerTest extends AbstractEntityControllerTest... |
b90540e6-2d0e-4fd2-88d8-dc960241bc56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-17 19:06:01", "repo_name": "novice81/study-aws", "sub_path": "/dynamodb/example-java/src/main/java/study/aws/example/dynamodb/dto/MusicDto.java", "file_name": "MusicDto.java", "file_ext": "java", "file_size_in... | https://github.com/novice81/study-aws | 237 | FILENAME: MusicDto.java | 0.250913 | package study.aws.example.dynamodb.dto;
import com.google.common.collect.ImmutableMap;
import software.amazon.awssdk.services.dynamodb.model.AttributeValue;
import java.util.Map;
public class MusicDto {
public MusicDto(String artist, String songTitle) {
this.artist = artist;
this.songTitle = song... |
e620e68f-81c8-40b6-845a-54b1ed8fbb91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-17 23:49:19", "repo_name": "dianping/cat", "sub_path": "/integration/javaagent-client-agent/cat-client-plugin/src/com/qbao/cat/plugin/common/ThreadPluginTemplate.java", "file_name": "ThreadPluginTemplate.java"... | https://github.com/dianping/cat | 220 | FILENAME: ThreadPluginTemplate.java | 0.275909 | /**
*
*/
package com.qbao.cat.plugin.common;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import com.dianping.cat.Cat;
import com.dianping.cat.message.Transaction;
import com.qbao.cat.... |
8f72ace7-a26c-4334-9a8b-2ba3b8d056b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-21 01:51:30", "repo_name": "bestelapp/api", "sub_path": "/src/main/java/com/fontys/backend/controllers/GroupController.java", "file_name": "GroupController.java", "file_ext": "java", "file_size_in_byte": 1218,... | https://github.com/bestelapp/api | 240 | FILENAME: GroupController.java | 0.276691 | package com.fontys.backend.controllers;
import com.fontys.backend.entities.Group;
import com.fontys.backend.entities.User;
import com.fontys.backend.services.GroupService;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@RequestMapping("/group")
public class GroupController {... |
f04f19ef-6571-490c-a31e-4c096d855c5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-11 07:03:10", "repo_name": "JINHOUNGHUANG/lineRobot", "sub_path": "/message-object/src/main/java/line/robot/message_object/api/MulticastMessage.java", "file_name": "MulticastMessage.java", "file_ext": "java", ... | https://github.com/JINHOUNGHUANG/lineRobot | 233 | FILENAME: MulticastMessage.java | 0.282196 | package line.robot.message_object.api;
import java.util.Arrays;
import line.robot.message_object.BaseMessage;
public class MulticastMessage extends BaseApiMessage{
private String[] to;
private BaseMessage[] messages;
public MulticastMessage(String[] to, BaseMessage[] messages) {
super();
this.to = to;
th... |
1b9249c4-d0cf-4226-bf92-f36a5e80ea53 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-07 00:31:35", "repo_name": "mohsine15wal/automation", "sub_path": "/src/main/java/trainingsession/test_PIIT/facelogin.java", "file_name": "facelogin.java", "file_ext": "java", "file_size_in_byte": 1131, "line_... | https://github.com/mohsine15wal/automation | 238 | FILENAME: facelogin.java | 0.239349 | package trainingsession.test_PIIT;
import org.openqa.selenium.By;
import org.openqa.selenium.By.ByName;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class facelogin {
public static void main(String[] args) {
System.setProperty(... |
0331aa3f-f4e3-49a6-a45f-a5bf53539e3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-15 10:09:45", "repo_name": "Naouf3l/jwtTestImplementation", "sub_path": "/src/main/java/org/myproject/test/authent/AuthentResource.java", "file_name": "AuthentResource.java", "file_ext": "java", "file_size_in_... | https://github.com/Naouf3l/jwtTestImplementation | 181 | FILENAME: AuthentResource.java | 0.247987 | package org.myproject.test.authent;
import org.myproject.test.common.entity.User;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframe... |
1f6f2520-f429-4ad3-ba3e-d6683f342b8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-21 03:55:41", "repo_name": "DraperHXY/PMIS", "sub_path": "/src/main/java/com/draper/system/service/impl/UserRoleRelationServiceImpl.java", "file_name": "UserRoleRelationServiceImpl.java", "file_ext": "java", "... | https://github.com/DraperHXY/PMIS | 211 | FILENAME: UserRoleRelationServiceImpl.java | 0.268941 | package com.draper.system.service.impl;
import com.draper.system.dao.UserRoleRelationMapper;
import com.draper.system.entity.UserRoleRelation;
import com.draper.system.service.UserRoleRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ... |
bcf08bb7-8d17-41d0-8196-694b03ea15bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-16 11:06:33", "repo_name": "tectronics/nandana", "sub_path": "/NandanaModel/src/main/java/org/dairy/farms/interceptor/hibernate/AuditListener.java", "file_name": "AuditListener.java", "file_ext": "java", "file... | https://github.com/tectronics/nandana | 256 | FILENAME: AuditListener.java | 0.271252 | package org.dairy.farms.interceptor.hibernate;
import org.dairy.farms.model.AuditInfo;
import javax.persistence.PrePersist;
import javax.persistence.PreUpdate;
import java.util.Date;
/**
* Created by IntelliJ IDEA.
* User: gduggirala
* Date: Jun 13, 2011
* Time: 8:24:31 PM
*/
public class AuditListener {
@P... |
2f9b32f1-5576-4c46-8e49-ca33c197ae04 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-31 14:58:21", "repo_name": "matsuli/Dark_Seals", "sub_path": "/games/Dark seals/src/Bullet.java", "file_name": "Bullet.java", "file_ext": "java", "file_size_in_byte": 1218, "line_count": 30, "lang": "en", "doc... | https://github.com/matsuli/Dark_Seals | 343 | FILENAME: Bullet.java | 0.280616 | import processing.core.*;
public class Bullet extends PApplet { //samma som i processing, men det finns BARA EN SORTS BULLETS. Ingen skild ebullet för enemies, de skjuter samma bullets.
PVector location; //Därmed finns också bara en bullets arraylist. detta är möjligt genom att det finns bara en shoot-meto... |
e8b08bed-b6b8-4474-81a0-ecd01fe6acf6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-30 16:09:41", "repo_name": "seusofthd/Hydra", "sub_path": "/HydraCloud/src/com/symlab/hydracloud/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1218, "line_count... | https://github.com/seusofthd/Hydra | 242 | FILENAME: MainActivity.java | 0.264358 | package com.symlab.hydracloud;
import com.symlab.hydra.IOffloadingService;
import hk.ust.symlab.hydra.network.cloud.Main;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android... |
531b1945-4dfe-4864-b44e-75f530bafef9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-30 10:20:46", "repo_name": "wzhongke/spring", "sub_path": "/spring-learn/src/test/java/annotation/AnnotationTest.java", "file_name": "AnnotationTest.java", "file_ext": "java", "file_size_in_byte": 999, "line_c... | https://github.com/wzhongke/spring | 183 | FILENAME: AnnotationTest.java | 0.246533 | package annotation;
import examples.annotation.Annotation;
import examples.component.MyService;
import examples.bean.instantiating.ExampleBean;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qual... |
31ec5773-1b20-43e4-89ca-38035f3c2d3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-26 12:07:40", "repo_name": "DimaRyazanov/VotingRestaurantSystem", "sub_path": "/src/main/java/ru/votingsystem/auth/AuthorizedUser.java", "file_name": "AuthorizedUser.java", "file_ext": "java", "file_size_in_by... | https://github.com/DimaRyazanov/VotingRestaurantSystem | 224 | FILENAME: AuthorizedUser.java | 0.236516 | package ru.votingsystem.auth;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import ru.votingsystem.model.User;
import java.util.ArrayList;
import java.util.Collection;
public class AuthorizedUser implements UserDetails {
private User ... |
4f9f4c6e-9056-44d6-84a7-887d84af279c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-03 16:17:40", "repo_name": "geonyeongkim/kaggle-stackoverflow-api", "sub_path": "/src/main/java/com/skuniv/cs/geonyeong/kaggleapi/vo/Question.java", "file_name": "Question.java", "file_ext": "java", "file_size... | https://github.com/geonyeongkim/kaggle-stackoverflow-api | 270 | FILENAME: Question.java | 0.262842 | package com.skuniv.cs.geonyeong.kaggleapi.vo;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.skuniv.cs.geonyeong.kaggleapi.vo.meta.QnAMeta;
import java.util.List;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf... |
f6942948-0267-4031-88d9-b0cd142201bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-20 15:47:12", "repo_name": "lmpanalytics/sp-control", "sub_path": "/pc_processing-web/src/main/java/com/tetrapak/processing/parts_control/beans/LogicClient.java", "file_name": "LogicClient.java", "file_ext": "... | https://github.com/lmpanalytics/sp-control | 244 | FILENAME: LogicClient.java | 0.289372 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.tetrapak.processing.parts_control.beans;
import com.tetrapak.processing.parts_control.pc_logic_ejb.Logic;
import javax.ann... |
993e8fd0-78b1-4377-be7d-6195aa1985a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-09T10:54:32", "repo_name": "ddgcarbayo/openpandemic-app", "sub_path": "/CONTRIBUTING.md", "file_name": "CONTRIBUTING.md", "file_ext": "md", "file_size_in_byte": 1054, "line_count": 36, "lang": "en", "doc_t... | https://github.com/ddgcarbayo/openpandemic-app | 240 | FILENAME: CONTRIBUTING.md | 0.194368 | # Getting Started
First, create a fork of the [openpandemic-app](https://github.com/OpenPandemic/openpandemic-app) repo from master by hitting the `fork` button on the GitHub page.
Next, clone your fork onto your computer with this command (replacing YOUR_USERNAME with your actual GitHub username)
```git@github.com:... |
630100f8-e81d-4739-9fdf-06e5ec9c224f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-10 14:04:50", "repo_name": "igloo-project/igloo-parent", "sub_path": "/igloo/igloo-components/igloo-component-jpa/src/main/java/org/iglooproject/jpa/business/generic/model/migration/MigratedFromOldApplicationG... | https://github.com/igloo-project/igloo-parent | 238 | FILENAME: MigratedFromOldApplicationGenericEntity.java | 0.277473 | package org.iglooproject.jpa.business.generic.model.migration;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import org.iglooproject.jpa.business.generic.model.PredefinedIdGenericEntity;
/**
* This class should only be used as a temporary measure to migrat... |
9a58c98a-8239-48cf-80ba-7dcafe14be82 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-15 09:30:35", "repo_name": "BRHSM/JAVADB", "sub_path": "/JavaDB/src/DataBase/Room.java", "file_name": "Room.java", "file_ext": "java", "file_size_in_byte": 1134, "line_count": 56, "lang": "en", "doc_type": "co... | https://github.com/BRHSM/JAVADB | 290 | FILENAME: Room.java | 0.284576 | package DataBase;
public class Room {
private String name;
private int maxPersons;
private float hCost;
private float cost;
private int roomId;
public Room(String name, int maxPersons,float hCost2,float cost2) {
this.name = name;
this.maxPersons = maxPersons;
this.hCost = hCost2;
this.cost... |
b24ceedf-91db-465a-af71-3606dbc52aee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-01 02:46:25", "repo_name": "claudioed/docker-aws-devry", "sub_path": "/product/src/main/java/product/domain/resource/ProductResource.java", "file_name": "ProductResource.java", "file_ext": "java", "file_size_i... | https://github.com/claudioed/docker-aws-devry | 219 | FILENAME: ProductResource.java | 0.272799 | package product.domain.resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import product.domain.model.Product;
import product.domain.repository.ProductRepository;
import product.domain.resource.model... |
82c8f8d2-fcf4-45d0-b1c7-3733c1aa7667 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-30 17:47:57", "repo_name": "jffp113/ASD-Distributed-Publish-Subscriber-System", "sub_path": "/src/main/java/protocols/multipaxos/messages/AcceptOperationMessage.java", "file_name": "AcceptOperationMessage.java... | https://github.com/jffp113/ASD-Distributed-Publish-Subscriber-System | 219 | FILENAME: AcceptOperationMessage.java | 0.279828 | package protocols.multipaxos.messages;
import babel.protocol.event.ProtocolMessage;
import io.netty.buffer.ByteBuf;
import network.ISerializer;
import protocols.multipaxos.Operation;
import java.io.Serializable;
import java.net.UnknownHostException;
public class AcceptOperationMessage extends ProtocolMessage impleme... |
689fa42c-992a-46f7-ab99-95f52997f643 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-04T05:42:02", "repo_name": "Earthmark/Korriban", "sub_path": "/runtime/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1094, "line_count": 27, "lang": "en", "doc_type": "text",... | https://github.com/Earthmark/Korriban | 230 | FILENAME: README.md | 0.288569 | # Korriban Runtime
## The core runtime dependency chain
Field Reservation (type agnostic)
Scheduling information. Contains field indexes.
Indexes element reservations to field sets.
Defines active interdependency set
DOES NOT DEFINE FIELDS ON ELEMENTS (only between).
Says what exit properties go w... |
6b4d8e52-d9c9-40c0-b140-67c1d980d09e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-01 10:05:12", "repo_name": "Zaaim-Halim/Hadoop-Mapreduce", "sub_path": "/PallindromWordCount/src/zaaim/halim/PallindromMapper.java", "file_name": "PallindromMapper.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Zaaim-Halim/Hadoop-Mapreduce | 229 | FILENAME: PallindromMapper.java | 0.292595 | package zaaim.halim;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
public class PallindromMapper extends Mapper<LongWritable, Text, Text, IntW... |
68dc89e7-1bca-40de-b921-67beb0a97aad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 16:27:12", "repo_name": "pvtrieulh/thay_hung", "sub_path": "/demo/src/main/java/com/example/demo/controller/KhachHangController.java", "file_name": "KhachHangController.java", "file_ext": "java", "file_size... | https://github.com/pvtrieulh/thay_hung | 253 | FILENAME: KhachHangController.java | 0.282988 | package com.example.demo.controller;
import com.example.demo.dao.KhachhangDAO;
import com.example.demo.dto.KhachHangDTO;
import com.example.demo.model.KhachHang;
import com.example.demo.model.Phong;
import com.example.demo.repository.KhachHangRepository;
import org.springframework.beans.factory.annotation.Autowired;
i... |
d660ad9e-e794-4e71-921c-9894403f720b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-18 09:13:54", "repo_name": "woshikid/spring-mvc", "sub_path": "/src/main/java/com/github/woshikid/mvc/utils/ShiroCache.java", "file_name": "ShiroCache.java", "file_ext": "java", "file_size_in_byte": 1133, "lin... | https://github.com/woshikid/spring-mvc | 233 | FILENAME: ShiroCache.java | 0.255344 | package com.github.woshikid.mvc.utils;
import java.util.Collection;
import java.util.Set;
import org.apache.shiro.cache.CacheException;
import org.springframework.cache.Cache;
import org.springframework.cache.support.SimpleValueWrapper;
@SuppressWarnings("rawtypes")
public class ShiroCache implements org.apache.shir... |
a29ab0c1-07b6-4042-b6fb-909fc40f26f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-04 18:10:53", "repo_name": "CrazyRussian6/LeasingProjectBackEnd", "sub_path": "/src/main/java/lt/swedbank/itacademy/ItAkaLeasingSystemBackEnd/beans/response/BusinessCustomerResponse.java", "file_name": "Busine... | https://github.com/CrazyRussian6/LeasingProjectBackEnd | 235 | FILENAME: BusinessCustomerResponse.java | 0.250913 | package lt.swedbank.itacademy.ItAkaLeasingSystemBackEnd.beans.response;
import lt.swedbank.itacademy.ItAkaLeasingSystemBackEnd.beans.documents.BusinessCustomer;
/**
* Created by Lukas on 2018-03-20.
*/
public class BusinessCustomerResponse extends CustomerResponse{
private String companyID;
private String... |
51044752-e85f-4193-9e8a-24e46851b066 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-05 23:20:27", "repo_name": "gibahjoe/springdoc-param-customizer", "sub_path": "/src/test/java/com/devappliance/springdocparamcustomizer/operationcustomizer/QChildEntity.java", "file_name": "QChildEntity.java",... | https://github.com/gibahjoe/springdoc-param-customizer | 231 | FILENAME: QChildEntity.java | 0.258326 | package com.devappliance.springdocparamcustomizer.operationcustomizer;
import com.querydsl.core.types.Path;
import com.querydsl.core.types.PathMetadata;
import com.querydsl.core.types.dsl.EntityPathBase;
import com.querydsl.core.types.dsl.NumberPath;
import static com.querydsl.core.types.PathMetadataFactory.forVariab... |
74d8f972-baca-4aef-84ea-f3a61a2eeea5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-18 11:58:03", "repo_name": "xiaozhukai/WeChat", "sub_path": "/wechat/src/main/java/com/wechat/auth/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in_byt... | https://github.com/xiaozhukai/WeChat | 233 | FILENAME: UserServiceImpl.java | 0.240775 | package com.wechat.auth.service.impl;
import com.wechat.auth.dao.UserDao;
import com.wechat.auth.pojo.User;
import com.wechat.auth.service.UserService;
import net.sf.json.JSONObject;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotatio... |
41f0ae6b-00ce-4803-97dd-96e3e96a7d66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-11 02:43:35", "repo_name": "adench/AndroidProjectBase", "sub_path": "/baselibrary/src/main/java/com/xqkj/baselibrary/weight/NoScrollViewPager.java", "file_name": "NoScrollViewPager.java", "file_ext": "java", "... | https://github.com/adench/AndroidProjectBase | 212 | FILENAME: NoScrollViewPager.java | 0.218669 | package com.xqkj.baselibrary.weight;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import androidx.viewpager.widget.ViewPager;
public class NoScrollViewPager extends ViewPager {
// 是否禁止 viewpager 左右滑动
private boolean noScroll = true;
public NoScrollVi... |
058a0905-c963-423c-8033-37f3c40f63a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-30 06:14:34", "repo_name": "jadeshelton/Weather-Map", "sub_path": "/src/main/java/com/jade/shelton/weather_map/domain/WeatherHourly.java", "file_name": "WeatherHourly.java", "file_ext": "java", "file_size_in_b... | https://github.com/jadeshelton/Weather-Map | 275 | FILENAME: WeatherHourly.java | 0.281406 | package com.jade.shelton.weather_map.domain;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Wea... |
64200484-819c-4e10-bb4e-35c4062726e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-04 03:21:53", "repo_name": "KimKyeongCheol/GMS-maria", "sub_path": "/src/com/gms/web/util/Separator.java", "file_name": "Separator.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count": 32, "lang"... | https://github.com/KimKyeongCheol/GMS-maria | 201 | FILENAME: Separator.java | 0.272799 | package com.gms.web.util;
import javax.servlet.http.HttpServletRequest;
import com.gms.web.command.Command;
import com.gms.web.factory.CommandFactory;
public class Separator {
public static Command cmd=new Command();
public static void init(HttpServletRequest request){
/*String action=request.getParameter("actio... |
4498e7f4-2590-4873-bdb1-ff3cbceae742 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-31 04:20:36", "repo_name": "krkchaitanya/springRevamp", "sub_path": "/src/main/java/com/samplePojos/TechFrameworks.java", "file_name": "TechFrameworks.java", "file_ext": "java", "file_size_in_byte": 1082, "lin... | https://github.com/krkchaitanya/springRevamp | 209 | FILENAME: TechFrameworks.java | 0.214691 | package com.samplePojos;
public class TechFrameworks {
private String name;
private String developmentPhase;
private Number version;
public TechFrameworks(String name, String developmentPhase, Number version) {
this.name = name;
this.developmentPhase = developmentPhase;
this.ve... |
a2e4f976-0fdd-4461-9292-fb7c5c3dc34a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-30 08:52:42", "repo_name": "KleinDevDE/TwitchBot", "sub_path": "/server/src/main/java/de/kleindev/twitchbot/configuration/TwitchBotConfiguration.java", "file_name": "TwitchBotConfiguration.java", "file_ext": "... | https://github.com/KleinDevDE/TwitchBot | 206 | FILENAME: TwitchBotConfiguration.java | 0.23231 | package de.kleindev.twitchbot.configuration;
import com.google.inject.Binder;
import com.google.inject.Module;
import java.io.File;
public class TwitchBotConfiguration extends Config implements Module {
private File file;
@Override
public File getFile() {
return file;
}
@ConfigPath(path... |
1b47eba4-d1ff-4a1c-95d6-4bdef868e57f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-13 15:41:39", "repo_name": "OscarPrediction1/bettingOddsCrawler", "sub_path": "/de.coins2015.oscar1.bettingoddscrawler/src/main/java/de/coins2015/oscar1/bettingoddscrawler/MongoDBHandler.java", "file_name": "M... | https://github.com/OscarPrediction1/bettingOddsCrawler | 205 | FILENAME: MongoDBHandler.java | 0.268941 | package de.coins2015.oscar1.bettingoddscrawler;
import java.util.Arrays;
import org.json.simple.JSONObject;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBObject;
import com.mongodb.MongoClient;
import com.mongodb.MongoCredential;
import com.mongodb.ServerAddress;
import com.mongodb.uti... |
f6fe4512-9ede-4add-ac11-fbee4bf9d9fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-01 04:36:37", "repo_name": "Taylerlm/gitRepository", "sub_path": "/leyou/ly-search/ly-search-service/src/main/java/com/leyou/lmhitysu/search/controller/SearchController.java", "file_name": "SearchController.ja... | https://github.com/Taylerlm/gitRepository | 207 | FILENAME: SearchController.java | 0.258326 | package com.leyou.lmhitysu.search.controller;
import com.leyou.lmhitysu.common.PageResult;
import com.leyou.lmhitysu.search.model.Goods;
import com.leyou.lmhitysu.search.model.SearchRequest;
import com.leyou.lmhitysu.search.service.ISearchService;
import org.springframework.beans.factory.annotation.Autowired;
import o... |
943bc822-189e-4544-89c1-21e394b0499a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-20 23:02:19", "repo_name": "elisabetb/atlas", "sub_path": "/gxa/src/test/java/uk/ac/ebi/atlas/utils/DBSolrStatusControllerIT.java", "file_name": "DBSolrStatusControllerIT.java", "file_ext": "java", "file_size_... | https://github.com/elisabetb/atlas | 203 | FILENAME: DBSolrStatusControllerIT.java | 0.250913 | package uk.ac.ebi.atlas.utils;
import com.google.gson.Gson;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
imp... |
7032371f-c69d-4e40-a9bf-d65163ab8cf3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 02:51:23", "repo_name": "Eternally8/springboot-hjz", "sub_path": "/springCloudAlibaba/nacos-consumer/src/main/java/com/hjz/controller/ConsumerController.java", "file_name": "ConsumerController.java", "file_... | https://github.com/Eternally8/springboot-hjz | 225 | FILENAME: ConsumerController.java | 0.200558 | package com.hjz.controller;
import com.hjz.model.StudentVo;
import com.hjz.service.NacosProviderFeignClient;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bin... |
ca25f88a-aab5-4fd0-8a9d-21dc98047a6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-13 14:13:21", "repo_name": "vinayp20/Android-Nanodegree-Projects-Udacity", "sub_path": "/Tour guide/app/src/main/java/com/example/android/myapplication6/HistoricalPlaces.java", "file_name": "HistoricalPlaces.j... | https://github.com/vinayp20/Android-Nanodegree-Projects-Udacity | 197 | FILENAME: HistoricalPlaces.java | 0.216012 | package com.example.android.myapplication6;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListView;
import java.util.ArrayList;
public class HistoricalPlaces extends AppCompatActivity {
@Override
protected void on... |
ba89e624-f342-4cab-b250-4ae048b9e912 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-11 20:31:56", "repo_name": "making/credhub", "sub_path": "/src/main/java/io/pivotal/security/generator/SshGenerator.java", "file_name": "SshGenerator.java", "file_ext": "java", "file_size_in_byte": 1218, "line... | https://github.com/making/credhub | 250 | FILENAME: SshGenerator.java | 0.26588 | package io.pivotal.security.generator;
import io.pivotal.security.controller.v1.SshSecretParameters;
import io.pivotal.security.secret.SshKey;
import io.pivotal.security.util.CertificateFormatter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org... |
e37db38c-c596-49e6-903c-e85dacd33832 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-03 12:07:54", "repo_name": "adiraag/adikaal", "sub_path": "/EmployeeSort/src/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte": 1132, "line_count": 59, "lang": "en", "doc_ty... | https://github.com/adiraag/adikaal | 260 | FILENAME: Employee.java | 0.277473 | import java.io.Serializable;
/**
* Created by upadhyad on 7/28/2017.
*/
public class Employee implements Comparable, Serializable {
private int empId;
private String name;
transient private double salary;
public Employee(int empId, String name, double salary) {
this.empId = empId;
t... |
f03fd33d-42a1-4af9-ada2-96070c0ab924 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-13T15:22:30", "repo_name": "Kitchu0401/codenotforfood", "sub_path": "/aws/host-key-changed.md", "file_name": "host-key-changed.md", "file_ext": "md", "file_size_in_byte": 1361, "line_count": 33, "lang": "e... | https://github.com/Kitchu0401/codenotforfood | 353 | FILENAME: host-key-changed.md | 0.255344 | # Host key가 변경되어 SSH 접속에 실패 할 때
AWS 내 새로운 Instance를 생성하여 기존의 key pair를 적용하고,
Elastic IPs를 적용하여 public-dns가 변경되었을 때 (Elastic IP 적용시 주의 메시지가 출력됨)
``` sh
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@... |
b2e19a69-2e94-4792-9d76-4fc479159240 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-16 11:50:35", "repo_name": "ainilili/no-framework", "sub_path": "/nico-nocat/src/main/java/org/nico/cat/server/ServerEntrance.java", "file_name": "ServerEntrance.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/ainilili/no-framework | 229 | FILENAME: ServerEntrance.java | 0.290981 | package org.nico.cat.server;
import java.io.IOException;
import java.net.Socket;
import org.nico.cat.server.processer.ServerProcesser;
import org.nico.cat.server.processer.entity.ProcessResult;
import org.nico.cat.server.response.buddy.ResponseBuddy;
import org.nico.log.Logging;
import org.nico.log.LoggingHelper;
pu... |
4fd5a90e-9c48-417a-b5dd-0b9ec07c7778 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 03:48:31", "repo_name": "WillTong/enjoy-sample", "sub_path": "/sample-sys/sample-user-model/src/main/java/com/enjoy/sample/user/model/dto/UserInfoDto.java", "file_name": "UserInfoDto.java", "file_ext": "jav... | https://github.com/WillTong/enjoy-sample | 218 | FILENAME: UserInfoDto.java | 0.236516 | package com.enjoy.sample.user.model.dto;
import com.enjoy.sample.user.model.entity.UserInfo;
import java.io.Serializable;
public class UserInfoDto implements Serializable {
private Long id;
private String userCode;
private String userName;
public UserInfoDto() {
}
public UserInfoDto(Long id... |
e3bfe55d-2f89-41d5-87db-3a2fe71b8649 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-10 23:06:00", "repo_name": "dantudorin/Producer-Consumer-MultiThreading-JAVA", "sub_path": "/Consumer.java", "file_name": "Consumer.java", "file_ext": "java", "file_size_in_byte": 1133, "line_count": 49, "lang... | https://github.com/dantudorin/Producer-Consumer-MultiThreading-JAVA | 185 | FILENAME: Consumer.java | 0.256832 | import java.util.ArrayList;
public class Consumer implements Runnable {
private ArrayList<Integer> arrayList;
private String threadName;
public Consumer(ArrayList<Integer> arrayList, String threadName){
this.arrayList = arrayList;
this.threadName = threadName;
Thread t = new Thr... |
fd14bbd2-b324-47c2-a42e-59f321a20914 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-16 14:06:46", "repo_name": "tim-mila/jwt-demo", "sub_path": "/src/main/java/com/sevensummits/jwt/demo/global/jpa/AuditorAwareImpl.java", "file_name": "AuditorAwareImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/tim-mila/jwt-demo | 158 | FILENAME: AuditorAwareImpl.java | 0.23793 | package com.sevensummits.jwt.demo.global.jpa;
import com.sevensummits.jwt.demo.user.ApplicationUser;
import com.sevensummits.jwt.demo.user.ApplicationUserService;
import org.springframework.data.domain.AuditorAware;
import org.springframework.lang.NonNull;
import org.springframework.security.core.Authentication;
impor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.