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 |
|---|---|---|---|---|---|---|
7a5a4851-f4f2-4fde-8592-963f4cb5de6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-04 18:43:20", "repo_name": "jbrionne/lxc-java-control", "sub_path": "/operation-core/src/main/java/fr/operation/core/command/DisplayStream.java", "file_name": "DisplayStream.java", "file_ext": "java", "file_si... | https://github.com/jbrionne/lxc-java-control | 212 | FILENAME: DisplayStream.java | 0.262842 | package fr.operation.core.command;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.concurrent.Callable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
class DisplayStream implements Callable<String> {
private static... |
5ffccaad-cecc-41e4-ad2f-6d470f55cca3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-16 03:46:46", "repo_name": "ujwalagawari/SpringMvcmmBank", "sub_path": "/src/main/java/com/moneymoney/validation/AccountValidation.java", "file_name": "AccountValidation.java", "file_ext": "java", "file_size_i... | https://github.com/ujwalagawari/SpringMvcmmBank | 225 | FILENAME: AccountValidation.java | 0.26971 | /**
*
*/
package com.moneymoney.validation;
import java.util.regex.Pattern;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import com.moneymoney.pojo.account.SavingsAccount;
/**
* @author ugawari
*
*/
@Component
p... |
9a76720b-df2b-4498-925e-0b3823c23925 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-02 21:14:48", "repo_name": "erica-banda-03/BuffBear", "sub_path": "/Gymsense/src/gymsense/RegisterUserServlet.java", "file_name": "RegisterUserServlet.java", "file_ext": "java", "file_size_in_byte": 1147, "lin... | https://github.com/erica-banda-03/BuffBear | 198 | FILENAME: RegisterUserServlet.java | 0.252384 | package gymsense;
import gymsense.dao.GymsenseDAO;
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;... |
3fd72b78-2b6c-4a02-a21d-4a73b7c543c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-19 04:13:11", "repo_name": "Github-Benjamin/shop", "sub_path": "/shop/src/cn/benjamin/shop/interceptor/PrivilegeInterceptor.java", "file_name": "PrivilegeInterceptor.java", "file_ext": "java", "file_size_in_by... | https://github.com/Github-Benjamin/shop | 249 | FILENAME: PrivilegeInterceptor.java | 0.252384 | package cn.benjamin.shop.interceptor;
import cn.benjamin.shop.adminuser.vo.AdminUser;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor;
import org.apache.struts2.ServletActionContext;
/**
* Created by Ben... |
dd9af623-fda5-489e-befe-1de5582ffe9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-04 19:12:03", "repo_name": "andres0219/SFAutomatizacionCO", "sub_path": "/AutomatizacionSuccesFactors/src/test/java/PruebaSF/AutomatizacionSuccesFactors/AppTest.java", "file_name": "AppTest.java", "file_ext": ... | https://github.com/andres0219/SFAutomatizacionCO | 276 | FILENAME: AppTest.java | 0.282196 | package PruebaSF.AutomatizacionSuccesFactors;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class AppTest
{
public void loginSF(WebDriver driver) {
String base = "https://salesdemo4.successfactors.com/"
+ "login?company=SFPRO000... |
6254f192-cf6c-4841-a94f-6dbda9abc954 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-13 15:06:48", "repo_name": "karesti/protobuf-marshalling-guide", "sub_path": "/marshalling-with-spring-boot/src/main/java/org/fantastic/ReadWriteSimulation.java", "file_name": "ReadWriteSimulation.java", "file... | https://github.com/karesti/protobuf-marshalling-guide | 198 | FILENAME: ReadWriteSimulation.java | 0.273574 | package org.fantastic;
import org.fantastic.data.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.lang.invoke.MethodHand... |
032526f8-21d4-4317-bbf2-ac3377ef6881 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-02 06:22:37", "repo_name": "maheswaranapk/Android-Loading-Google-Concept", "sub_path": "/app/src/main/java/com/scriptedpapers/androidloadinggoogleconcept/MainActivity.java", "file_name": "MainActivity.java", "... | https://github.com/maheswaranapk/Android-Loading-Google-Concept | 203 | FILENAME: MainActivity.java | 0.23793 | package com.scriptedpapers.androidloadinggoogleconcept;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import com.googleloading.LoadingView;
public class MainActivity extends AppCompatActivity {
LoadingView loadingView;
But... |
8cfa718c-2162-47de-acf0-e6d4203db65a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-09 10:24:04", "repo_name": "sharesss/KWAPP", "sub_path": "/app/src/main/java/widget/popup/BaseDoubleEventPopup.java", "file_name": "BaseDoubleEventPopup.java", "file_ext": "java", "file_size_in_byte": 976, "li... | https://github.com/sharesss/KWAPP | 195 | FILENAME: BaseDoubleEventPopup.java | 0.286968 | package widget.popup;
import android.app.Activity;
import android.widget.Button;
/**
* @author meteorshower
* Double Click Event
*/
public abstract class BaseDoubleEventPopup extends BaseEventPopup {
protected Button btnDoubleEvent;
protected OnDoubleEventClickListener doubleEventListener;
public BaseDoubleE... |
f12ef9e8-a4b6-40c6-bf58-d2ed50958622 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-08 01:01:46", "repo_name": "vishaltorgal/HomeWork2-2", "sub_path": "/app/src/main/java/com/example/homework2_2/model/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 982, "l... | https://github.com/vishaltorgal/HomeWork2-2 | 221 | FILENAME: Student.java | 0.2227 | package com.example.homework2_2.model;
import java.util.ArrayList;
public class Student {
protected String mCWID;
protected String mFirstName;
protected String mLastName;
protected ArrayList<Vehicle> mVehicle;
public Student(String cwid,String fName, String lName ) {
mFirstName = fName;... |
557dd0db-73a3-43d3-b998-6817ba7fe072 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-11 04:53:47", "repo_name": "AppSecAI-TEST/awaker", "sub_path": "/app/src/main/java/com/future/awaker/network/AwakerClient.java", "file_name": "AwakerClient.java", "file_ext": "java", "file_size_in_byte": 1014,... | https://github.com/AppSecAI-TEST/awaker | 192 | FILENAME: AwakerClient.java | 0.256832 | package com.future.awaker.network;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
/**
* Copyright ©2017 by Teambition
*/
public final class AwakerClient {
private static final String HOST = "http://www.awaker.cn/api/... |
9bdc8d90-19eb-4659-afcc-399d3a2b353a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-03 13:48:55", "repo_name": "wayne06/em-sys", "sub_path": "/em/src/main/java/xyz/qzpx/em/controller/NewsController.java", "file_name": "NewsController.java", "file_ext": "java", "file_size_in_byte": 1022, "line... | https://github.com/wayne06/em-sys | 218 | FILENAME: NewsController.java | 0.247987 | package xyz.qzpx.em.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import xyz.qzpx.em.dataObject.NewsDO;
import xyz.qzpx.em.service.NewsService;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
@RestControll... |
0d77e7cd-5eaf-4a8f-b797-e37243432ea8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-08 00:41:51", "repo_name": "Linxianghang/walkbookstore", "sub_path": "/sc-provider/sc-xzsd-app/src/main/java/com/xzsd/app/clientinformation/service/ClientService.java", "file_name": "ClientService.java", "file... | https://github.com/Linxianghang/walkbookstore | 279 | FILENAME: ClientService.java | 0.262842 | package com.xzsd.app.clientinformation.service;
import com.neusoft.core.restful.AppResponse;
import com.xzsd.app.clientinformation.dao.ClientDao;
import com.xzsd.app.clientinformation.entity.ClientInfo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
imp... |
483378c1-4cfb-420b-bde9-faf3cbc9175f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-31 16:39:40", "repo_name": "giveachance/mpg", "sub_path": "/src/main/java/com/hqh/mp/beans/Department.java", "file_name": "Department.java", "file_ext": "java", "file_size_in_byte": 1177, "line_count": 56, "la... | https://github.com/giveachance/mpg | 264 | FILENAME: Department.java | 0.249447 | package com.hqh.mp.beans;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
* <p>
*
* </p>
*
* @author hqh
* @since 2018-0... |
4f50c98c-150c-48b1-9ae9-a2b357944b1e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-26 02:51:49", "repo_name": "yongkanghuang/basics", "sub_path": "/src/main/java/com/basics/rabbitmq/producer/MqSender.java", "file_name": "MqSender.java", "file_ext": "java", "file_size_in_byte": 1035, "line_co... | https://github.com/yongkanghuang/basics | 222 | FILENAME: MqSender.java | 0.193147 | package com.basics.rabbitmq.producer;
import com.basics.rabbitmq.entity.Message;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.connection.CorrelationData;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... |
f60bbe95-4a42-45bf-ba5e-d6df9a23f36c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-14T09:34:18", "repo_name": "JiaoXR/Reading-Notes", "sub_path": "/codes/TestCode/src/com/jaxer/example/proxy/ProxyTest.java", "file_name": "ProxyTest.java", "file_ext": "java", "file_size_in_byte": 1111, "line_... | https://github.com/JiaoXR/Reading-Notes | 300 | FILENAME: ProxyTest.java | 0.286968 | package com.jaxer.example.proxy;
import com.jaxer.example.proxy.cglib.CglibProxyFactory;
import com.jaxer.example.proxy.jdk.JDKProxyFactory;
/**
* 代码千万行,注释第一行。
* 代理模式测试
* <p>
* Created by jaxer on 2019-07-13
*/
public class ProxyTest {
public static void main(String[] args) {
testStaticProxy();
// testJdkPr... |
9c2c4079-1ccd-4eca-a2bb-960c054e4e1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-10 12:13:53", "repo_name": "pxiebray/x-framework", "sub_path": "/demo/consumer/src/main/java/com/x/framework/consumer/controller/TestController.java", "file_name": "TestController.java", "file_ext": "java", "f... | https://github.com/pxiebray/x-framework | 207 | FILENAME: TestController.java | 0.246533 | package com.x.framework.consumer.controller;
import com.x.framework.provider.entity.Product;
import com.x.framework.provider.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.R... |
5466bb82-ab7c-4122-9f92-00f04d30623a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-03 02:16:41", "repo_name": "ronistone/DistributedToggleFeature", "sub_path": "/src/main/java/br/com/ronistone/feature/toggle/autofind/ip/generator/LazyIPGenerator.java", "file_name": "LazyIPGenerator.java", "f... | https://github.com/ronistone/DistributedToggleFeature | 197 | FILENAME: LazyIPGenerator.java | 0.249447 | package br.com.ronistone.feature.toggle.autofind.ip.generator;
import br.com.ronistone.feature.toggle.util.IPUtil;
import java.net.InetAddress;
import java.nio.ByteBuffer;
public class LazyIPGenerator extends IPGenerator {
private int beginIp;
private int endIp;
private int currentIp;
public LazyI... |
5eb75bfe-e514-4699-87a0-9606f17bf7cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-20 02:01:29", "repo_name": "dandiiiii/Responsi", "sub_path": "/app/src/main/java/com/example/jean/retrofitexample/model/Book.java", "file_name": "Book.java", "file_ext": "java", "file_size_in_byte": 1020, "lin... | https://github.com/dandiiiii/Responsi | 250 | FILENAME: Book.java | 0.216012 | package com.example.jean.retrofitexample.model;
import com.google.gson.annotations.SerializedName;
public class Book{
@SerializedName("brief")
private static String brief;
@SerializedName("id")
private String id;
@SerializedName("title")
private static String title;
@SerializedName("filesource")
private S... |
d344699d-bff2-49be-aa63-2fda849ce915 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-19 09:15:41", "repo_name": "ax3726/fish_pond", "sub_path": "/app/src/main/java/com/gofishfarm/htkj/base/retrofit/intercept/CacheInterceptor.java", "file_name": "CacheInterceptor.java", "file_ext": "java", "fil... | https://github.com/ax3726/fish_pond | 270 | FILENAME: CacheInterceptor.java | 0.258326 | package com.gofishfarm.htkj.base.retrofit.intercept;
import com.gofishfarm.htkj.utils.AppUtils;
import com.gofishfarm.htkj.utils.NetworkUtils;
import java.io.IOException;
import okhttp3.CacheControl;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;
/**
* 设置缓存策略
* author: 康栋普
* date: ... |
a67ba24a-0b46-4ed7-a1f6-87023b6734f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-29 08:05:11", "repo_name": "yj970/ARouterDemo", "sub_path": "/app/src/main/java/com/yj/arouterdemo/activity/TestFragmentActivity.java", "file_name": "TestFragmentActivity.java", "file_ext": "java", "file_size_... | https://github.com/yj970/ARouterDemo | 180 | FILENAME: TestFragmentActivity.java | 0.214691 | package com.yj.arouterdemo.activity;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import com.alibaba.android.arouter.launcher.... |
bbcbb209-e365-4e44-b30a-8d9e744c2873 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-04 18:05:19", "repo_name": "Siwoo-Kim/androidLabForJava", "sub_path": "/app/src/main/java/com/android/siwoo/androidlabforjava/ui/adapter/LabTwo.java", "file_name": "LabTwo.java", "file_ext": "java", "file_size... | https://github.com/Siwoo-Kim/androidLabForJava | 210 | FILENAME: LabTwo.java | 0.262842 | package com.android.siwoo.androidlabforjava.ui.adapter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.*;
import com.android.siwoo.androidlabforjava.R;
public class LabTwo extends AppCompatActivity implements AdapterView.OnItemClickListener {... |
1933f4c4-8eb5-4d11-90fc-3ebd470dbf04 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-25 10:05:55", "repo_name": "paweljaneta/DBbenchmark", "sub_path": "/src/main/java/pl/polsl/paweljaneta/databasebenchmark/model/sql/entities/SqlTransaction.java", "file_name": "SqlTransaction.java", "file_ext":... | https://github.com/paweljaneta/DBbenchmark | 232 | FILENAME: SqlTransaction.java | 0.279828 | package pl.polsl.paweljaneta.databasebenchmark.model.sql.entities;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import pl.polsl.paweljaneta.databasebenchmark.model.DeliveryMode;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.L... |
cf6a73ec-3b85-4890-bf0b-e1470c193f8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-08 10:55:42", "repo_name": "conseweb/Launcher", "sub_path": "/Main/src/main/java/com/bitants/launcherdev/launcher/appslist/search/StringUtil.java", "file_name": "StringUtil.java", "file_ext": "java", "file_siz... | https://github.com/conseweb/Launcher | 364 | FILENAME: StringUtil.java | 0.26588 | package com.bitants.launcherdev.launcher.appslist.search;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class StringUtil {
/**
*
* @description 去除号码中的空格 如: 138 1234 5678 → 13812345678
*/
public static String replaceBlank(String str) {
String dest = "";
if (str != null) {
Patte... |
f06dfa53-50d3-44b3-baa3-b8b4b8a01ab3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-29 14:21:48", "repo_name": "introsdeProject194513/introsde_project_ws_nhs", "sub_path": "/src/main/java/it/unitn/introsde/nhr/ws/PatientEndpoint.java", "file_name": "PatientEndpoint.java", "file_ext": "java", ... | https://github.com/introsdeProject194513/introsde_project_ws_nhs | 200 | FILENAME: PatientEndpoint.java | 0.23092 | package it.unitn.introsde.nhr.ws;
import it.unitn.introsde.nhr.patientws.querypatient.GetPatientRequest;
import it.unitn.introsde.nhr.patientws.querypatient.GetPatientResponse;
import org.springframework.ws.server.endpoint.annotation.Endpoint;
import org.springframework.ws.server.endpoint.annotation.PayloadRoot;
impo... |
9872a042-b7f6-4aab-b5d7-bf31522e8a7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-30 19:07:20", "repo_name": "weize/fws", "sub_path": "/java/src/main/java/edu/umass/ciir/fws/clustering/FacetRefinerFactory.java", "file_name": "FacetRefinerFactory.java", "file_ext": "java", "file_size_in_byte... | https://github.com/weize/fws | 258 | FILENAME: FacetRefinerFactory.java | 0.283781 | /*
* 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 edu.umass.ciir.fws.clustering;
import edu.umass.ciir.fws.demo.search.GalagoSearchEngine;
import edu.umass.ciir.fws.demo.search... |
927cc1b0-4666-4c49-94be-dfe7fe7d8332 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-25 18:46:09", "repo_name": "heroes-coding/smart-share", "sub_path": "/src/main/java/entity/File.java", "file_name": "File.java", "file_ext": "java", "file_size_in_byte": 1151, "line_count": 55, "lang": "en", "... | https://github.com/heroes-coding/smart-share | 260 | FILENAME: File.java | 0.264358 | package entity;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
public class File {
private String fileName;
private byte[] file;
/**
* Saves the underlying file to a relative directory with the File's fileName
* @param relativeDirectory
*/
public void sa... |
3294fea2-5509-452e-9460-00987a1229a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-26 21:38:53", "repo_name": "wangsihao/SoftwareDevelopment", "sub_path": "/GroupProject/SDPCryptogram/app/src/main/java/edu/gatech/seclass/sdpcryptogram/Cryptogram.java", "file_name": "Cryptogram.java", "file_e... | https://github.com/wangsihao/SoftwareDevelopment | 205 | FILENAME: Cryptogram.java | 0.245085 | package edu.gatech.seclass.sdpcryptogram;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
public class Cryptogram {
protected String encodedPhrase;
protected String solutionPhrase;
protected int cryptogramID = -1;
public Cryptogram () { }
public Cryptogram ... |
4add4c22-7d8c-48ce-bd56-e87f0307e001 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-17 04:19:27", "repo_name": "dev-khanh/handle_event_change", "sub_path": "/android/src/main/java/com/devk/handle_event_change/FlutterRegistrarResponder.java", "file_name": "FlutterRegistrarResponder.java", "fil... | https://github.com/dev-khanh/handle_event_change | 214 | FILENAME: FlutterRegistrarResponder.java | 0.292595 | package com.devk.handle_event_change;
import android.os.Handler;
import android.os.Looper;
import java.util.HashMap;
import io.flutter.plugin.common.MethodChannel;
import io.flutter.plugin.common.PluginRegistry;
abstract class FlutterRegistrarResponder {
MethodChannel channel;
PluginRegistry.Registrar flutt... |
7f29b211-461f-4641-a339-ea90a394a15e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-23T05:38:01", "repo_name": "platzmanfan/FriendFinder", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 982, "line_count": 46, "lang": "en", "doc_type": "text", "b... | https://github.com/platzmanfan/FriendFinder | 242 | FILENAME: README.md | 0.284576 | # FriendFinder Application
- - -
## Description
Friend Finder is an application that implements 10 questions being asked by the user and stores them in our data and compares the results! From 1 (Strongly Disagree) to 5 (Strongly Agree). When the survey is done, the closest to the user scores will be displayed and ... |
a8c1b42e-3deb-44be-98c5-fc44d431dc4d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-10 10:45:53", "repo_name": "prateekdroid08/visitor-app", "sub_path": "/app/src/main/java/com/visitorapp/bloominfotech/models/admin_detail/ResponseAdminDetail.java", "file_name": "ResponseAdminDetail.java", "fi... | https://github.com/prateekdroid08/visitor-app | 265 | FILENAME: ResponseAdminDetail.java | 0.26588 | package com.visitorapp.bloominfotech.models.admin_detail;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
/**
* Created by hp on 11/16/2016.
*/
public class ResponseAdminDetail {
@SerializedName("TotalRecordsCoun... |
4f7bc011-86f1-499c-ace7-ebf73f8a4011 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-23 18:49:10", "repo_name": "oscarnilsson929/Boo", "sub_path": "/app/src/main/java/com/boo/app/ui/activity/PhotoReview.java", "file_name": "PhotoReview.java", "file_ext": "java", "file_size_in_byte": 1177, "lin... | https://github.com/oscarnilsson929/Boo | 210 | FILENAME: PhotoReview.java | 0.243642 | package com.boo.app.ui.activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import com.boo.app.R;
import com.boo.app.utility.BitmapTransform;
import com.boo.app.utility.Utility;
import com.squareup.picasso.Picasso;
public class PhotoReview extends BaseActivity{
... |
1aeeaf38-0960-4185-a49a-fa3eac28a31f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-27 21:15:21", "repo_name": "ArcBees/gwtchosen", "sub_path": "/integration-test/src/main/java/com/arcbees/chosen/integrationtest/client/testcases/AllowSingleDeselect.java", "file_name": "AllowSingleDeselect.jav... | https://github.com/ArcBees/gwtchosen | 256 | FILENAME: AllowSingleDeselect.java | 0.276691 | /**
* Copyright 2015 ArcBees Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
5eb3d2d0-3c0c-46ed-8501-9251433e9e97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-11 06:41:26", "repo_name": "zhizuyiwang/hsf-learn", "sub_path": "/learn-project/project-demo/src/main/java/com/hsf/learn/demo/collection/map/MyMapNode.java", "file_name": "MyMapNode.java", "file_ext": "java", ... | https://github.com/zhizuyiwang/hsf-learn | 257 | FILENAME: MyMapNode.java | 0.282196 | package com.hsf.learn.demo.collection.map;
import java.util.Objects;
public class MyMapNode<K,V> {
final int hash;
final K key;
V value;
MyMapNode<K,V> next;
public MyMapNode(int hash, K key, V value, MyMapNode<K, V> next) {
this.hash = hash;
this.key = key;
this.value =... |
404f9b54-b683-4217-9c74-b44117e78d17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-10 17:43:29", "repo_name": "fintechutcc/Java-RMI-Demo", "sub_path": "/DateServer.java", "file_name": "DateServer.java", "file_ext": "java", "file_size_in_byte": 971, "line_count": 38, "lang": "en", "doc_type":... | https://github.com/fintechutcc/Java-RMI-Demo | 210 | FILENAME: DateServer.java | 0.261331 | package th.ac.utcc.computer.rmi;
import java.net.MalformedURLException;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Suparerk Manitpornsut
* @version 1.0.0... |
2c49c253-0756-4bc1-95f3-ce67a956ce05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-18 18:32:30", "repo_name": "dhavalshah05/AndroidTutorials", "sub_path": "/app/src/main/java/com/itgosolutions/tutorial/google_login/GoogleLoginHelper.java", "file_name": "GoogleLoginHelper.java", "file_ext": "... | https://github.com/dhavalshah05/AndroidTutorials | 247 | FILENAME: GoogleLoginHelper.java | 0.289372 | package com.itgosolutions.tutorial.google_login;
import android.content.Context;
import com.google.android.gms.auth.api.signin.GoogleSignIn;
import com.google.android.gms.auth.api.signin.GoogleSignInClient;
import com.google.android.gms.auth.api.signin.GoogleSignInOptions;
final class GoogleLoginHelper {
stati... |
4eefe5e9-2e7d-47b1-96a5-24665321edef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-17 15:43:29", "repo_name": "nimalank7/makers-acebook", "sub_path": "/src/main/java/MVP/PostsController.java", "file_name": "PostsController.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 4... | https://github.com/nimalank7/makers-acebook | 210 | FILENAME: PostsController.java | 0.277473 | package MVP;
import MVP.entity.Post;
import MVP.repository.PostRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
@Controller
public class PostsController {
... |
fce52285-53a8-4f16-b3fb-753feddfc987 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-09T01:06:57", "repo_name": "osgi/osgi-test", "sub_path": "/org.osgi.test.junit5.listeners.log.osgi/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1072, "line_count": 23, "lang... | https://github.com/osgi/osgi-test | 246 | FILENAME: README.md | 0.267408 | # org.osgi.test.junit5.listeners.log.osgi
This artifact provides a JUnit Jupiter `TestExecutionListener` implementation that logs test output through the OSGi Log Service. It registers a new logger for each log service that becomes available.
* Failing tests are logged as errors.
* Aborted and skipped tests are logge... |
6ccf6739-bc90-4574-9465-331d56af4d69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-17 18:37:32", "repo_name": "DivyaVatturi/nopCommerceApp", "sub_path": "/src/test/java/com/nopcommerce/pageObjects/LoginPage.java", "file_name": "LoginPage.java", "file_ext": "java", "file_size_in_byte": 1055, ... | https://github.com/DivyaVatturi/nopCommerceApp | 236 | FILENAME: LoginPage.java | 0.287768 | package com.nopcommerce.pageObjects;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class LoginPage
{
WebDriver ldriver;
public LoginPage(WebDriver rd... |
3e4ea085-ed62-4e52-acfd-dfa7dcd52044 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-26 09:16:56", "repo_name": "fahim-bsmrstu/Krishighor_TEST_2", "sub_path": "/app/src/main/java/com/example/klayton/krishighor_test_2/reg/Login.java", "file_name": "Login.java", "file_ext": "java", "file_size_in... | https://github.com/fahim-bsmrstu/Krishighor_TEST_2 | 212 | FILENAME: Login.java | 0.201813 | package com.example.klayton.krishighor_test_2.reg;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android... |
5d84aff0-2cdd-4209-8373-27f6433bce4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-05 23:15:52", "repo_name": "stevehav/iowa-caucus-app", "sub_path": "/sources/com/drew/metadata/jpeg/HuffmanTablesDescriptor.java", "file_name": "HuffmanTablesDescriptor.java", "file_ext": "java", "file_size_in... | https://github.com/stevehav/iowa-caucus-app | 193 | FILENAME: HuffmanTablesDescriptor.java | 0.291787 | package com.drew.metadata.jpeg;
import com.drew.lang.annotations.NotNull;
import com.drew.lang.annotations.Nullable;
import com.drew.metadata.TagDescriptor;
public class HuffmanTablesDescriptor extends TagDescriptor<HuffmanTablesDirectory> {
public HuffmanTablesDescriptor(@NotNull HuffmanTablesDirectory huffmanTa... |
44a8415b-036c-4e51-85dc-3ed4a89fe96e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-30 10:29:27", "repo_name": "PrateekKumar1/training", "sub_path": "/src/com/training/RetailMgmt/src/main/java/com/training/services/CustImpl.java", "file_name": "CustImpl.java", "file_ext": "java", "file_size_i... | https://github.com/PrateekKumar1/training | 302 | FILENAME: CustImpl.java | 0.290176 | /**
*
*/
package com.training.services;
import com.training.repo.CustomerRepo;
/**
* @author PRATEEK KR
*
*/
public class CustImpl implements CustmServ {
/*
* (non-Javadoc)
*
* @see com.training.services.CustmServ#addCustmr(int, java.lang.String,
* java.lang.String, java.lang.String)
*/
public in... |
e681b06a-9e90-454a-917a-71a70a726f98 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-05 13:28:31", "repo_name": "ozzi-/G.o.L", "sub_path": "/src/utils/NW.java", "file_name": "NW.java", "file_ext": "java", "file_size_in_byte": 1154, "line_count": 40, "lang": "en", "doc_type": "code", "blob_id":... | https://github.com/ozzi-/G.o.L | 213 | FILENAME: NW.java | 0.293404 | package utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.NoSuchElementException;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClie... |
5a416ff7-3471-49bc-b7ae-08cfe8b108cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-06 19:12:27", "repo_name": "moyheen/MakeUpSearch", "sub_path": "/app/src/main/java/com/moyinoluwa/makeupsearch/data/MakeUpRepositoryImpl.java", "file_name": "MakeUpRepositoryImpl.java", "file_ext": "java", "fi... | https://github.com/moyheen/MakeUpSearch | 223 | FILENAME: MakeUpRepositoryImpl.java | 0.26588 | package com.moyinoluwa.makeupsearch.data;
import com.moyinoluwa.makeupsearch.data.remote.MakeUpProductRestService;
import com.moyinoluwa.makeupsearch.data.remote.model.MakeUp;
import java.io.IOException;
import java.util.List;
import rx.Observable;
/**
* Created by moyinoluwa on 2/8/17.
*/
public class MakeUpRep... |
ab7e958c-b0dd-4af3-9bc6-74c19fcf7d09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-18 14:19:21", "repo_name": "KBelili/WhowheadProject", "sub_path": "/src/test/java/org/TestPackage/TestVerifyItem.java", "file_name": "TestVerifyItem.java", "file_ext": "java", "file_size_in_byte": 1002, "line_... | https://github.com/KBelili/WhowheadProject | 256 | FILENAME: TestVerifyItem.java | 0.284576 | package org.TestPackage;
import org.junit.Test;
import org.myPagesObject.BeforeResultPage;
import org.myPagesObject.CharacterPage;
import org.myPagesObject.HomePage;
import org.myPagesObject.ResultPage;
public class TestVerifyItem extends GenericTest {
public TestVerifyItem() {
super();
}
@Test
public... |
fd7ee26a-cacc-4f81-8f24-6ad40ce3d01b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-02 16:04:10", "repo_name": "RobertoGraham/docker-client-model-serializing", "sub_path": "/src/main/java/com/example/demo/ContainerController.java", "file_name": "ContainerController.java", "file_ext": "java", ... | https://github.com/RobertoGraham/docker-client-model-serializing | 168 | FILENAME: ContainerController.java | 0.2227 | package com.example.demo;
import com.spotify.docker.client.DockerClient;
import com.spotify.docker.client.exceptions.DockerException;
import com.spotify.docker.client.messages.Container;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework... |
0dfb113d-c370-4e6e-828d-6637f7f8845a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-29 02:53:50", "repo_name": "Mdmhasan1/maven", "sub_path": "/MavenP/src/main/java/FHelper/FBrowserFactory.java", "file_name": "FBrowserFactory.java", "file_ext": "java", "file_size_in_byte": 1028, "line_count":... | https://github.com/Mdmhasan1/maven | 191 | FILENAME: FBrowserFactory.java | 0.27513 | package FHelper;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
public class FBrowserFactory {
static WebDriver driver;
public static WebDriver startBrowser(St... |
d02df4c5-b22f-409a-b697-ae23c450db0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-18 20:52:42", "repo_name": "kojote-git/library-server", "sub_path": "/src/main/java/com/jkojote/libraryserver/application/mailing/PropertiesAuthenticator.java", "file_name": "PropertiesAuthenticator.java", "fi... | https://github.com/kojote-git/library-server | 185 | FILENAME: PropertiesAuthenticator.java | 0.243642 | package com.jkojote.libraryserver.application.mailing;
import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
public class PropertiesAuthenticator extends Authenticator {
priva... |
b1e863eb-c251-438f-b3d4-fd30c850c4bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-01 13:26:34", "repo_name": "Isendoum/wotBackend", "sub_path": "/src/main/java/com/wot/wotbackend/itemModel/Gear.java", "file_name": "Gear.java", "file_ext": "java", "file_size_in_byte": 1001, "line_count": 40,... | https://github.com/Isendoum/wotBackend | 214 | FILENAME: Gear.java | 0.236516 | package com.wot.wotbackend.itemModel;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.wot.wotbackend.itemModel.GearModels.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@JsonDeserialize
public class Gear {
private I... |
067b5d34-cdef-4a92-a82b-c2ac94cb4ce5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-28 13:42:36", "repo_name": "AAFC-BICoE/agent-api", "sub_path": "/src/main/java/ca/gc/aafc/agent/api/service/OrganizationService.java", "file_name": "OrganizationService.java", "file_ext": "java", "file_size_in... | https://github.com/AAFC-BICoE/agent-api | 208 | FILENAME: OrganizationService.java | 0.255344 | package ca.gc.aafc.agent.api.service;
import ca.gc.aafc.agent.api.entities.Organization;
import ca.gc.aafc.agent.api.validation.OrganizationValidator;
import ca.gc.aafc.dina.jpa.BaseDAO;
import ca.gc.aafc.dina.service.DefaultDinaService;
import lombok.NonNull;
import org.springframework.stereotype.Service;
import org.... |
e821034b-7b06-46ab-beeb-fb258fc4cde5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-21 15:37:29", "repo_name": "maxrporto/AndroidDev", "sub_path": "/AndroidAula6/app/src/main/java/com/target/androidaula6/json/Location.java", "file_name": "Location.java", "file_ext": "java", "file_size_in_byte... | https://github.com/maxrporto/AndroidDev | 256 | FILENAME: Location.java | 0.200558 |
package com.target.androidaula6.json;
public class Location {
private String city;
private Integer postcode;
private String state;
private String street;
/**
* No args constructor for use in serialization
*
*/
public Location() {
}
/**
*
* @param street
... |
78b49c24-bbc8-409b-9011-fc1d85123bf4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-13 15:54:55", "repo_name": "vfdxvffd/JavaWeb", "sub_path": "/Ajax/AjaxDemo/src/org/Ajax/servlet/MobileServlet.java", "file_name": "MobileServlet.java", "file_ext": "java", "file_size_in_byte": 1048, "line_coun... | https://github.com/vfdxvffd/JavaWeb | 201 | FILENAME: MobileServlet.java | 0.250913 | package org.Ajax.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class MobileServlet extends HttpServlet {
protected voi... |
590c51c3-ca7f-4802-b5df-388110c5eb8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-18 12:26:06", "repo_name": "LiushuiXiaoxia/MsDemo", "sub_path": "/demo-client/src/main/java/com/example/democlient/config/FeignConfig.java", "file_name": "FeignConfig.java", "file_ext": "java", "file_size_in_b... | https://github.com/LiushuiXiaoxia/MsDemo | 253 | FILENAME: FeignConfig.java | 0.256832 | package com.example.democlient.config;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Slf4j
@Co... |
3e661e58-a4fc-4d21-89a0-040120993455 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-29 14:26:01", "repo_name": "mulesoft/mule-migration-assistant", "sub_path": "/mule-migration-tool-library/src/main/java/com/mulesoft/tools/migration/library/mule/steps/spring/AuthorizationFilter.java", "file_n... | https://github.com/mulesoft/mule-migration-assistant | 258 | FILENAME: AuthorizationFilter.java | 0.268941 | /*
* Copyright (c) 2020, Mulesoft, LLC. All rights reserved.
* Use of this source code is governed by a BSD 3-Clause License
* license that can be found in the LICENSE.txt file.
*/
package com.mulesoft.tools.migration.library.mule.steps.spring;
import static java.util.Collections.singletonList;
import com.mulesof... |
f6a6e321-0be0-481a-abbd-55d799d083de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-18 10:46:47", "repo_name": "tanyaoley/java_course", "sub_path": "/01-workshop/src/it/sevenbits/workshop/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 991, "line_count": 29, "la... | https://github.com/tanyaoley/java_course | 201 | FILENAME: Main.java | 0.282988 | package it.sevenbits.workshop;
import it.sevenbits.workshop.matrix.Matrix;
import it.sevenbits.workshop.queue.DoubleEndedQueue;
public class Main {
public static void main(String[] args){
Matrix matrix = new Matrix(Integer.parseInt(args[0]), Integer.parseInt(args[1]));
System.out.println(matrix.to... |
a7bcda5d-2d4b-4efe-822b-aef6b985f8d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-04T12:25:52", "repo_name": "andiparjoleanu/Yellow-Sounds", "sub_path": "/Proiectv2/src/onlineShop/Administrator.java", "file_name": "Administrator.java", "file_ext": "java", "file_size_in_byte": 1042, "line_co... | https://github.com/andiparjoleanu/Yellow-Sounds | 200 | FILENAME: Administrator.java | 0.23092 | package onlineShop;
public class Administrator
{
private final String name;
private final String username;
private final String password;
private final String responsabilities;
private final Buffer buffer;
public Administrator(String name, String username, String password,
... |
4118ea94-d674-4246-9b52-c3694ba5ce74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-03-02T13:56:28", "repo_name": "ausmarton/vanilla-espresso", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1178, "line_count": 31, "lang": "en", "doc_type": "text",... | https://github.com/ausmarton/vanilla-espresso | 280 | FILENAME: README.md | 0.224055 | vanilla-espresso
================
The most basic ExpressJS app in CoffeeScript built with Cake and tested with Mocha
This is a plain ExpressJS app, which was generated using the express generator. It isn't intended to do anything useful as an app, the sole purpose of it is to demonstrate the simplest possible setup o... |
e4974a55-972d-4043-a8c5-f1168cd561a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-04T20:10:32", "repo_name": "michaelxuch/d3", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1001, "line_count": 45, "lang": "en", "doc_type": "text", "blob_id": ... | https://github.com/michaelxuch/d3 | 247 | FILENAME: README.md | 0.271252 | # Agent Check2: D3
## Overview
This check monitors [d3][1].
## Setup
### Installation
To install the d3 check on your host:
1. Install the [developer toolkit](https://docs.datadoghq.com/developers/integrations/new_check_howto/#developer-toolkit) on any machine.
2. Run `ddev release build d3` to build... |
a9c05518-92dd-4297-af7c-710069ec8ff1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-09 11:41:53", "repo_name": "838395446/CSDS", "sub_path": "/src/main/java/com/tm/csgl/domain/fortest/RunTaskList.java", "file_name": "RunTaskList.java", "file_ext": "java", "file_size_in_byte": 1153, "line_coun... | https://github.com/838395446/CSDS | 269 | FILENAME: RunTaskList.java | 0.27048 | package com.tm.csgl.domain.fortest;
import java.util.List;
public class RunTaskList {
private String taskName;
private Boolean all;
private List<String> caseList;
public RunTaskList() {
this.all=false;
}
public RunTaskList(Boolean all, List<String> caseList) {
this.all = all;... |
a3c9ae26-4acb-40a5-b46e-be5d74d7ae05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-27 04:26:38", "repo_name": "sarkershantonu/jdbc-examples", "sub_path": "/SqlServer/src/main/java/org/automation/dal/JtdsSqlServer.java", "file_name": "JtdsSqlServer.java", "file_ext": "java", "file_size_in_byt... | https://github.com/sarkershantonu/jdbc-examples | 230 | FILENAME: JtdsSqlServer.java | 0.243642 | package org.automation.dal;
import com.microsoft.sqlserver.jdbc.SQLServerDataSource;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
* Created by shantonu on 7/17/16.
*/
public class JtdsSqlServer {
private static final String user = "user";
private static final... |
952c45ae-b37b-4a0a-95c7-6b1e62ea51f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-19 04:49:04", "repo_name": "kungfuwushu/backend", "sub_path": "/src/main/java/fr/kungfunantes/backend/model/round/Round.java", "file_name": "Round.java", "file_ext": "java", "file_size_in_byte": 1022, "line_co... | https://github.com/kungfuwushu/backend | 222 | FILENAME: Round.java | 0.242206 | package fr.kungfunantes.backend.model.round;
import fr.kungfunantes.backend.model.criteria.Criteria;
import fr.kungfunantes.backend.model.exercise.ExerciseRound;
import io.swagger.annotations.ApiModel;
import javax.persistence.*;
import java.util.List;
import java.util.Set;
@Entity
@ApiModel
public class Round {
... |
8937a9f3-0d33-496d-bf96-5800a747b009 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-11 16:54:18", "repo_name": "MDingas/ALTO-server", "sub_path": "/src/main/java/com/example/restservice/entity/networkmap/AddressAggregationEntity.java", "file_name": "AddressAggregationEntity.java", "file_ext":... | https://github.com/MDingas/ALTO-server | 264 | FILENAME: AddressAggregationEntity.java | 0.259826 | package com.example.restservice.entity.networkmap;
import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Optional;
public class AddressAggregationEntity {
@NotNull
private String pid;
private List<String> ipv4AddressList;
private List<String> ipv6AddressList;
pub... |
6276440f-6100-4ccd-8eb2-5dd1c537eacb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-26 16:04:24", "repo_name": "rolaleks/cloud-storage", "sub_path": "/common/src/main/java/cloudstorage/helpers/FileReader.java", "file_name": "FileReader.java", "file_ext": "java", "file_size_in_byte": 983, "lin... | https://github.com/rolaleks/cloud-storage | 190 | FILENAME: FileReader.java | 0.242206 | package cloudstorage.helpers;
import java.io.*;
import java.util.Arrays;
public class FileReader {
private String path;
private int chunk = 262144;
private byte[] buffer;
private BufferedInputStream bufferedInputStream;
public FileReader(String path) throws FileNotFoundException {
this... |
379825d6-02f1-4c02-a110-f5019e175356 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-30 01:20:23", "repo_name": "carnation-security/carnation-core", "sub_path": "/src/main/java/com/violetfreesia/carnation/context/SecurityContextHolder.java", "file_name": "SecurityContextHolder.java", "file_ext... | https://github.com/carnation-security/carnation-core | 249 | FILENAME: SecurityContextHolder.java | 0.236516 | package com.violetfreesia.carnation.context;
import com.violetfreesia.carnation.exception.NotAllowedNullException;
import com.violetfreesia.carnation.util.CarnationAssert;
/**
* @author violetfreesia
* @date 2021-04-26
*/
public class SecurityContextHolder {
private final static ThreadLocal<SecurityContext> S... |
6c8b2c96-91fa-4834-97d8-19ff54ba87e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-16 09:21:52", "repo_name": "fratik/chinczyk", "sub_path": "/chinczyk-client/src/main/java/pl/fratik/chinczyk/client/game/GameListenerWrapper.java", "file_name": "GameListenerWrapper.java", "file_ext": "java", ... | https://github.com/fratik/chinczyk | 259 | FILENAME: GameListenerWrapper.java | 0.283781 | package pl.fratik.chinczyk.client.game;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import pl.fratik.chinczyk.game.Event;
import pl.fratik.chinczyk.game.GameStatus;
class GameListenerWrapper implements GameListener {
final GameListener listener;
private final Logger logger;
public GameListen... |
37514600-489d-4e52-aa8e-50adbced93d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-29T14:06:17", "repo_name": "koenhoeymans/Fjor", "sub_path": "/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 52, "lang": "en", "doc_type": "text", "bl... | https://github.com/koenhoeymans/Fjor | 317 | FILENAME: CHANGELOG.md | 0.272799 | # Fjor Changelog
## [Unreleased]
### Changed
- `addParam()` doesn't require an array with parameters to be injected. Parameters
are now specified the way they should be injected.
## [0.3.0] - 2018-08-07
### Changed
- Require PHPUnit 7.*
- Minimum PHP 7.2 required.
- Changelog format is based on [Keep a Changelog](... |
e8477dc7-a17a-4532-bf4d-e8191a5a451b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-27 18:32:42", "repo_name": "chvnaveenkumar/Recursion-Java", "sub_path": "/src/recursion/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1037, "line_count": 53, "lang": "en"... | https://github.com/chvnaveenkumar/Recursion-Java | 235 | FILENAME: Student.java | 0.261331 | /*
* 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 recursion;
/**
*
* @author Naveen Kumar,Chandaluri
*/
public class Student {
private String fname;
/**
* Thi... |
1dc878a5-eb32-479f-a98f-194351452253 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-01 16:18:42", "repo_name": "benskov95/Cupcake_Webshop", "sub_path": "/src/main/java/PresentationLayer/NewCustomer.java", "file_name": "NewCustomer.java", "file_ext": "java", "file_size_in_byte": 984, "line_cou... | https://github.com/benskov95/Cupcake_Webshop | 185 | FILENAME: NewCustomer.java | 0.23231 | package PresentationLayer;
import FunctionLayer.LogicFacade;
import FunctionLayer.LoginSampleException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.sql.SQLException;
public class NewCustomer extends Command {
@Override
String execute(HttpServletReq... |
744fe330-1e54-4753-b32e-18afa8d38351 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-23 08:57:04", "repo_name": "blueesad/Android_GuoWei_Exam", "sub_path": "/app/src/main/java/com/qf/guo/guowei_exam/adapter/MyPagerAdapter.java", "file_name": "MyPagerAdapter.java", "file_ext": "java", "file_siz... | https://github.com/blueesad/Android_GuoWei_Exam | 255 | FILENAME: MyPagerAdapter.java | 0.282988 | package com.qf.guo.guowei_exam.adapter;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.qf.guo.guowei_exam.bean.TitleJson;
import com.qf.guo.guowei_exam.fragment.MyListFrament;
im... |
3c11958a-dd78-49de-a567-fe29a5f4f02a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-10 21:34:54", "repo_name": "georgianabrailoiu/mpai-project", "sub_path": "/mpai/src/main/java/eb/project/mpai/service/BiletNormalTeatruServiceImpl.java", "file_name": "BiletNormalTeatruServiceImpl.java", "file... | https://github.com/georgianabrailoiu/mpai-project | 281 | FILENAME: BiletNormalTeatruServiceImpl.java | 0.295027 | package eb.project.mpai.service;
import eb.project.mpai.domain.bilete.BiletNormalConcert;
import eb.project.mpai.domain.bilete.BiletNormalTeatru;
import eb.project.mpai.repository.BiletNormalConcertRepository;
import eb.project.mpai.repository.BiletNormalTeatruRepository;
import eb.project.mpai.service.interfaces.Bile... |
abe36822-3c12-4abc-94d8-bbba15c1b911 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-16 02:00:31", "repo_name": "SnowballClient/Client", "sub_path": "/src/org/golde/snowball/packets/server/SPacketInfo.java", "file_name": "SPacketInfo.java", "file_ext": "java", "file_size_in_byte": 967, "line_c... | https://github.com/SnowballClient/Client | 211 | FILENAME: SPacketInfo.java | 0.267408 | package org.golde.snowball.packets.server;
import java.io.IOException;
import org.golde.snowball.Snowball;
import org.golde.snowball.render.gui.LoadingCustom;
import net.minecraft.client.Minecraft;
import net.minecraft.network.PacketBuffer;
import net.minecraft.network.play.INetHandlerPlayClient;
public class SPack... |
10447e67-d160-45f5-8047-4b1e8f04371e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-09 07:05:35", "repo_name": "aa0228/FyglWeb", "sub_path": "/src/main/java/nju/software/fygl/entity/Ajjb.java", "file_name": "Ajjb.java", "file_ext": "java", "file_size_in_byte": 1038, "line_count": 51, "lang": ... | https://github.com/aa0228/FyglWeb | 279 | FILENAME: Ajjb.java | 0.288569 | package nju.software.fygl.entity;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name="PUB_AJ_JB")
public class Ajjb implements Serializable {
private static final long serialVersionUID = 1L;
Integer AJXH;
String AH;
publi... |
2cee35f9-cfe9-4c2f-90d9-2372032d2776 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-17 11:16:31", "repo_name": "AnkitJangir/java", "sub_path": "/Vishal/AJ/breack file and marge file/MergeFile.java", "file_name": "MergeFile.java", "file_ext": "java", "file_size_in_byte": 976, "line_count": 39,... | https://github.com/AnkitJangir/java | 185 | FILENAME: MergeFile.java | 0.282988 | import java.io.*;
class MergeFile
{
public static void main(String arg[])throws IOException
{
String filename;
int k=0;
Console con = System.console();
System.out.println("Name of File to be Merge: ");
String M=con.readLine();
... |
b5e3ea4c-571b-4ad1-a3d6-ad57179e9be0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-25 08:25:58", "repo_name": "zyh961117/CourseSpirit", "sub_path": "/src/com/example/coursespirit/adapter/CourseAdapter.java", "file_name": "CourseAdapter.java", "file_ext": "java", "file_size_in_byte": 1084, "l... | https://github.com/zyh961117/CourseSpirit | 217 | FILENAME: CourseAdapter.java | 0.290981 | package com.example.coursespirit.adapter;
import java.util.List;
import com.example.coursespirit.R;
import com.example.coursespirit.db.Course;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import androi... |
934c3dac-d3c8-45cd-bec1-aea873a433e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-26 01:10:39", "repo_name": "aytanSafa/spring-transactions", "sub_path": "/src/main/java/com/ayt/springtransactions/controller/AppController.java", "file_name": "AppController.java", "file_ext": "java", "file_s... | https://github.com/aytanSafa/spring-transactions | 193 | FILENAME: AppController.java | 0.26971 | package com.ayt.springtransactions.controller;
import com.ayt.springtransactions.dto.CustomerOrdersDto;
import com.ayt.springtransactions.service.CustomerOrdersService;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api")
public clas... |
0a57c4dd-7f0f-47fa-a262-1e3c703bb34b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-29 17:40:23", "repo_name": "beremm14/OpenHolzwurm", "sub_path": "/OpenHolzwurm/src/gui/model/ProductModel.java", "file_name": "ProductModel.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 4... | https://github.com/beremm14/OpenHolzwurm | 211 | FILENAME: ProductModel.java | 0.250913 | package gui.model;
import data.Product;
import javax.swing.table.AbstractTableModel;
/**
*
* @author emil
*/
public class ProductModel extends AbstractTableModel {
private final String[] colNames = {"Material", "Menge", "Kosten"};
private final Product product;
public ProductModel(Product product... |
248e5a98-f3a2-4237-af8b-67d9c63ad6c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-03 17:26:52", "repo_name": "trascarobert/projects", "sub_path": "/Java Hiring Application/Marketing.java", "file_name": "Marketing.java", "file_ext": "java", "file_size_in_byte": 1001, "line_count": 35, "lang"... | https://github.com/trascarobert/projects | 227 | FILENAME: Marketing.java | 0.284576 | package TemaPOO;
public class Marketing extends Departament {
public Marketing(String name_departament) {
super(name_departament);
}
public double getTotalSalaryBudget() {
double big_salary = 0;
double small_salary = 0;
double half_salary = 0;
double total = 0;
... |
e0fdf9b5-df59-4692-b6e4-26ac683746aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-23 00:50:16", "repo_name": "randyyan2000/3D-Pacman", "sub_path": "/src/DisplayThread.java", "file_name": "DisplayThread.java", "file_ext": "java", "file_size_in_byte": 1011, "line_count": 47, "lang": "en", "do... | https://github.com/randyyan2000/3D-Pacman | 193 | FILENAME: DisplayThread.java | 0.273574 | public class DisplayThread extends Thread
{
private Thread t;
private Display d;
public DisplayThread(Display display)
{
d=display;
}
public void run()
{
System.out.println("Running thread");
try
{
while(true)
{
d.sort... |
8aff39bf-d26b-464a-8877-99c2ed370630 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-09 04:36:08", "repo_name": "GeorgeKeo/Game", "sub_path": "/SpecialRoom.java", "file_name": "SpecialRoom.java", "file_ext": "java", "file_size_in_byte": 1178, "line_count": 51, "lang": "en", "doc_type": "code",... | https://github.com/GeorgeKeo/Game | 257 | FILENAME: SpecialRoom.java | 0.242206 | import java.util.Set;
import java.util.HashMap;
/**
* Goodhue's SpecialRoom
*
* Adding a special capability to just one room.
*
* 2013-11-15
*/
public class SpecialRoom extends Room
{
private Object gurleyJersey;
//private HashMap<String, Object> bagItems;
/**
* Constructor for obje... |
14877e78-1a8c-4647-91d6-333cc16fa5d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-11 11:15:26", "repo_name": "cmusv-sc/OpenNEX-Team6", "sub_path": "/app/controllers/MakeSession.java", "file_name": "MakeSession.java", "file_ext": "java", "file_size_in_byte": 994, "line_count": 40, "lang": "e... | https://github.com/cmusv-sc/OpenNEX-Team6 | 198 | FILENAME: MakeSession.java | 0.27513 | package controllers;
import models.Session;
import play.mvc.*;
import play.data.*;
import static play.data.Form.*;
import views.html.makesession.*;
import models.*;
public class MakeSession extends Controller {
/**
* Defines a form wrapping the User class.
*/
final static Form<models.Session... |
eccc48ba-cec2-4484-a75a-eceef2dc1e8e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-23 09:14:48", "repo_name": "utshavtimsina/UbuntuWorkspace", "sub_path": "/Day9_JDBI/src/main/java/org/timsina/main/config/JDBIConfig.java", "file_name": "JDBIConfig.java", "file_ext": "java", "file_size_in_byt... | https://github.com/utshavtimsina/UbuntuWorkspace | 218 | FILENAME: JDBIConfig.java | 0.261331 | package org.timsina.main.config;
import javax.sql.DataSource;
import org.jdbi.v3.core.Jdbi;
import org.jdbi.v3.sqlobject.SqlObjectPlugin;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Be... |
ea31b428-fc14-4ec7-b4c9-f58e5e089a42 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-07 05:49:48", "repo_name": "wusichao/xyx", "sub_path": "/x-kernel/src/main/java/com/xyx/x/model/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte": 1024, "line_count": 61, "lan... | https://github.com/wusichao/xyx | 296 | FILENAME: Account.java | 0.259826 | package com.xyx.x.model;
import java.util.Set;
public class Account extends Identifiable<Long>{
/**
* serialVersionUID
*/
private static final long serialVersionUID = 2068652268262144767L;
/**
* 媒体Id集合
*/
private Set<Long> mediaIdSet;
/**
* 渠道Id集合
*/
private Set<Long> channelIdSet;
/**
* 转化... |
8398e41f-712a-4e15-88bb-f336adbe26a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-22T21:44:20", "repo_name": "MFG-art/Beatbox", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1018, "line_count": 21, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/MFG-art/Beatbox | 221 | FILENAME: README.md | 0.268941 | # ReactBox
ReactBox is an online drum machine built with React.js. React.js allows for a dynamic interface which responds quickly to user input while not compromising the performance of the audio engine. ReactBox is inspired by popular drum machines such as the Roland TR-808 and TR-909, both of which played a crucial ... |
2bb280bf-8dbe-4088-b26f-5fb4752a0bd7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-02 04:49:57", "repo_name": "bennabnm/programming-in-java", "sub_path": "/java-core-nio/test/johnny/java/core/nio/test/EchoTest.java", "file_name": "EchoTest.java", "file_ext": "java", "file_size_in_byte": 1152... | https://github.com/bennabnm/programming-in-java | 238 | FILENAME: EchoTest.java | 0.281406 | package johnny.java.core.nio.test;
import johnny.java.core.nio.EchoClient;
import johnny.java.core.nio.EchoServer;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assert.assertEquals;
public class EchoTest {
Process server;
EchoCli... |
6267f03b-36eb-40d4-937f-e8fc82f919d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-21 08:59:53", "repo_name": "AdamMorytko/BookApi_2", "sub_path": "/src/main/java/pl/coderslab/model/JpaBookService.java", "file_name": "JpaBookService.java", "file_ext": "java", "file_size_in_byte": 1106, "line... | https://github.com/AdamMorytko/BookApi_2 | 224 | FILENAME: JpaBookService.java | 0.272025 | package pl.coderslab.model;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;
import pl.coderslab.repository.BookRepository;
import java.util.List;
import java.util.Optional;
@Repository
@Primary
public class JpaBookService implements BookService {
private ... |
4df2bf46-e4b5-44c4-9130-078d5ac6cc20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-20 03:24:10", "repo_name": "planet0104/lazy_dict", "sub_path": "/lazy_dict/app/src/main/java/cn/jy/lazydict/Word.java", "file_name": "Word.java", "file_ext": "java", "file_size_in_byte": 1010, "line_count": 45... | https://github.com/planet0104/lazy_dict | 230 | FILENAME: Word.java | 0.23092 | package cn.jy.lazydict;
/**
* 汉字释义
*/
public class Word {
private final String word;
private final String strokes;
private final String pinyin;
private final String radicals;
private final String explanation;
@Override
public String toString() {
return pinyin+"<br/><b>"+word+"</b... |
09d0ab4a-7b52-4890-aee3-2061d913646f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-11-11T18:18:52", "repo_name": "MaitreKuc/Symply_SoundBoard_MK", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1083, "line_count": 29, "lang": "en", "doc_type": "te... | https://github.com/MaitreKuc/Symply_SoundBoard_MK | 331 | FILENAME: README.md | 0.243642 | # Symply_SoundBoard_MK
Symply SoundBoard
Original Project
https://github.com/ZenitH-AT/JNSoundboard
A very simple soundboard that allows you to add as many buttons as you want to be able to play your sounds.<br>
A left click plays the sound.<br>
A middle click allows you to modify the name of the button.<br>
A right ... |
bd9c489a-91e6-49ad-a47d-5645050d64a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-23 16:48:04", "repo_name": "supenBenny/dumpling", "sub_path": "/src/main/java/org/dumpling/commons/filters/CharacterEncodingFilter.java", "file_name": "CharacterEncodingFilter.java", "file_ext": "java", "file_... | https://github.com/supenBenny/dumpling | 212 | FILENAME: CharacterEncodingFilter.java | 0.229535 | package org.dumpling.commons.filters;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
public class CharacterEncodingFilter im... |
898a0620-1c0c-425b-90a6-b28d2cac42c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-24 11:30:46", "repo_name": "wizzdi/translation-model", "sub_path": "/src/main/java/com/flexicore/translation/model/Translation.java", "file_name": "Translation.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/wizzdi/translation-model | 214 | FILENAME: Translation.java | 0.228156 | package com.flexicore.translation.model;
import com.flexicore.model.Baseclass;
import jakarta.persistence.Entity;
import jakarta.persistence.ManyToOne;
@Entity
public class Translation extends Baseclass {
private String externalId;
private String languageCode;
@ManyToOne(targetEntity = Baseclass.class)
privat... |
76473ac1-373f-4b53-af76-2ba0c388c678 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-13 19:25:21", "repo_name": "mbhantooa/gistscanner", "sub_path": "/app/src/main/java/com/rezolve/gistscanner/data/GistRepository.java", "file_name": "GistRepository.java", "file_ext": "java", "file_size_in_byte... | https://github.com/mbhantooa/gistscanner | 208 | FILENAME: GistRepository.java | 0.259826 | package com.rezolve.gistscanner.data;
import com.rezolve.gistscanner.model.CreateGistResponse;
import com.rezolve.gistscanner.model.GistCommentListResponse;
import javax.inject.Inject;
import javax.inject.Singleton;
@Singleton
public class GistRepository {
private final IGistDataSource gistApi;
@Inject
... |
2e9fe268-d201-4851-af34-67f1fda9eeb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 16:09:49", "repo_name": "aubricoc/xolis-android", "sub_path": "/app/src/main/java/cat/aubricoc/xolis/server/repository/OauthAccessTokenRepository.java", "file_name": "OauthAccessTokenRepository.java", "file... | https://github.com/aubricoc/xolis-android | 186 | FILENAME: OauthAccessTokenRepository.java | 0.236516 | package cat.aubricoc.xolis.server.repository;
import cat.aubricoc.xolis.core.utils.Callback;
import cat.aubricoc.xolis.server.model.UserAuthentication;
import cat.aubricoc.xolis.server.utils.HttpErrorHandler;
import cat.aubricoc.xolis.server.utils.RequestBuilder;
public class OauthAccessTokenRepository {
private... |
ae25aa97-6c7c-44d6-b76f-e5ed16c11fda | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-04 16:02:46", "repo_name": "FK-Christian/GestionMagasin", "sub_path": "/src/Gestion/Licence/Licence.java", "file_name": "Licence.java", "file_ext": "java", "file_size_in_byte": 1016, "line_count": 45, "lang": ... | https://github.com/FK-Christian/GestionMagasin | 230 | FILENAME: Licence.java | 0.217338 | /*
* 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 Gestion.Licence;
import java.io.Serializable;
import java.security.interfaces.RSAPrivateKey;
/**
*
* @author christian
*/
... |
4058fc9b-94c6-4fa1-899d-c041ec75a242 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-12-13T21:03:19", "repo_name": "maccypher/skeleton", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1177, "line_count": 42, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/maccypher/skeleton | 315 | FILENAME: README.md | 0.259826 | # Skeleton
## Requirements
- NPM is required -> [https://www.npmjs.org/](https://www.npmjs.org/)
## Getting started:
1. download / clone into a folder on your local machine
2. cd into 'skeleton/'
3. run (bower components will be automatically installed):
npm install
4. to start the server just run:
npm st... |
ff1f169d-2f2b-4ba9-aff8-0543a0ee2d89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-26 14:28:02", "repo_name": "lianghuazhang/githubdemo", "sub_path": "/src/test/java/com/example/springbootlogliz01/SpringBootLogLiz01ApplicationTests.java", "file_name": "SpringBootLogLiz01ApplicationTests.java... | https://github.com/lianghuazhang/githubdemo | 220 | FILENAME: SpringBootLogLiz01ApplicationTests.java | 0.212069 | package com.example.springbootlogliz01;
import com.example.springbootlogliz01.pojo.User;
import com.example.springbootlogliz01.service.UserService;
import com.example.springbootlogliz01.service.impl.UserviceImpl;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spr... |
8b029db8-a6d1-4201-94ad-895a59bbf588 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-21 06:54:47", "repo_name": "liveqmock/lnkapp-gwk", "sub_path": "/src/main/java/org/fbi/gwk/domain/tps/record/Record9905.java", "file_name": "Record9905.java", "file_ext": "java", "file_size_in_byte": 1153, "li... | https://github.com/liveqmock/lnkapp-gwk | 260 | FILENAME: Record9905.java | 0.2227 | package org.fbi.gwk.domain.tps.record;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import org.fbi.gwk.domain.tps.base.TpsMsgBodyBatchRecord;
/**
* Created by zhanrui on 2015/3/11.
*/
@XStreamAlias("Record")
public class Record9905 extends TpsMsgBodyBatchRecord {
private String user_code = "";
... |
682fb767-057f-4a85-a38a-2f8ad7602cd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-17T21:25:44", "repo_name": "stmoreau/general-fe-knowledge", "sub_path": "/generic-questions/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 977, "line_count": 20, "lang": "en",... | https://github.com/stmoreau/general-fe-knowledge | 285 | FILENAME: README.md | 0.239349 | # Generic questions
1. [What is the call stack?](call-stack.md)
2. [What is Function Composition?](function-composition.md)
3. [What are Higher order functions? (one sentence)](higher-order-functions.md)
4. [What are the three phases of a compiler?](compiler.md)
5. [What is variable shadowing?](shadowing.md)
6. [Descr... |
329131f3-1b68-4862-8d36-91a7e091c7f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-11 19:47:24", "repo_name": "Fucyd/simplerestproject", "sub_path": "/src/main/java/pl/michalski/restproject/orders/OrderModelAssembler.java", "file_name": "OrderModelAssembler.java", "file_ext": "java", "file_s... | https://github.com/Fucyd/simplerestproject | 223 | FILENAME: OrderModelAssembler.java | 0.281406 | package pl.michalski.restproject.orders;
import org.springframework.hateoas.EntityModel;
import org.springframework.hateoas.server.RepresentationModelAssembler;
import org.springframework.stereotype.Component;
import static org.springframework.hateoas.server.mvc.WebMvcLinkBuilder.linkTo;
import static org.springframe... |
a8287792-b5dc-4877-aff5-5d48426ca216 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-01-29 06:13:11", "repo_name": "angelmaskill/demo", "sub_path": "/src/main/java/com/netty/NettyStickyPacket/DelimiterBaseFrame/Server/DelimiterDecoderServerHandler.java", "file_name": "DelimiterDecoderServerHandle... | https://github.com/angelmaskill/demo | 213 | FILENAME: DelimiterDecoderServerHandler.java | 0.247987 | package com.netty.NettyStickyPacket.DelimiterBaseFrame.Server;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandlerAdapter;
import io.netty.channel.ChannelHandlerContext;
public class DelimiterDecoderServerHandler extends ChannelHandlerAdapter {
private int count... |
3c848ecd-ebdf-4013-b62b-68146dd1bffd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-05T16:38:13", "repo_name": "codertd/react-hw", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1153, "line_count": 31, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/codertd/react-hw | 283 | FILENAME: README.md | 0.249447 | # react-hw
A React/Express client/server bundle
### Based the boilerplate https://github.com/crsandeep/simple-react-full-stack
## Features
### Client and Server code
Under /src, there are both client and server directories. Client is a React app, while Server contains an express api.
I've added a React Router (v5)... |
ecc6fbe4-e12e-41c7-8c74-901fa489d0ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-24 19:46:56", "repo_name": "Aleks1696/Ampoule", "sub_path": "/Ampoule_WEB/src/main/java/com/web/service/CardServiceImpl.java", "file_name": "CardServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1005... | https://github.com/Aleks1696/Ampoule | 191 | FILENAME: CardServiceImpl.java | 0.267408 | package com.web.service;
import com.web.dao.CardRepository;
import com.web.domain.Card;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class CardServiceImpl implements CardService {
private CardRepository cardRe... |
55e4efc7-b061-4a49-8805-e0908c727fc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-21 14:47:30", "repo_name": "Niyijie/java-project", "sub_path": "/qq/client/QQClient.java", "file_name": "QQClient.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count": 49, "lang": "en", "doc_type... | https://github.com/Niyijie/java-project | 227 | FILENAME: QQClient.java | 0.262842 | package client;
import common.MessageFactory;
import common.Util;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.util.Scanner;
public class QQClient extends Thread{
private Socket clientSock = null;
private QQClientUI ui = null;
public QQClient(Socket sock... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.