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 |
|---|---|---|---|---|---|---|
4dcce9a8-17b0-4ba7-9b16-446b1731ed69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 15:32:39", "repo_name": "znhaha8/coffee-house-system", "sub_path": "/coffee-house-common/src/main/java/com/wyz/coffee/http/bean/dto/Response.java", "file_name": "Response.java", "file_ext": "java", "file_si... | https://github.com/znhaha8/coffee-house-system | 279 | FILENAME: Response.java | 0.291787 | package com.wyz.coffee.http.bean.dto;
import com.wyz.coffee.http.exception.ResponseException;
public class Response<T> {
private String code;
private String msg;
private T data;
public Response<T> check() {
if (!"100".equals(this.code)) {
throw new ResponseException(this);
... |
4aa8b46c-68c4-4ec7-ae44-a023a495b579 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-12 20:43:26", "repo_name": "dogganidhal/arava-backend", "sub_path": "/core/src/main/java/com/arava/server/jwt/UserPrincipalDetailsService.java", "file_name": "UserPrincipalDetailsService.java", "file_ext": "ja... | https://github.com/dogganidhal/arava-backend | 175 | FILENAME: UserPrincipalDetailsService.java | 0.217338 | package com.arava.server.jwt;
import com.arava.persistence.entity.User;
import com.arava.persistence.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetai... |
20d34203-1dde-4ecd-b6df-9e93bd6cbbce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-14 19:25:13", "repo_name": "SimonTheTree/beadando", "sub_path": "/MapCreator/src/view/MainWindow.java", "file_name": "MainWindow.java", "file_ext": "java", "file_size_in_byte": 1109, "line_count": 43, "lang": ... | https://github.com/SimonTheTree/beadando | 188 | FILENAME: MainWindow.java | 0.277473 | package view;
import javax.swing.JFrame;
import gameTools.state.State;
import gameTools.state.StateManager;
public class MainWindow extends JFrame{
//--------------------------------------------------------------//
// STATE ID-s
//--------------------------------------------------------------//
public static fin... |
e986f316-8657-4c69-88b4-36d88a6e3299 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-04 09:49:55", "repo_name": "Cibelyfreire/MeuCliente", "sub_path": "/MeuCliente/MeuCliente/src/main/java/br/unifor/MeuCliente/dao/ConnectionFactory.java", "file_name": "ConnectionFactory.java", "file_ext": "jav... | https://github.com/Cibelyfreire/MeuCliente | 253 | FILENAME: ConnectionFactory.java | 0.26971 | package br.unifor.MeuCliente.dao;
import java.sql.Connection;
import java.sql.SQLException;
import com.jolbox.bonecp.BoneCP;
import com.jolbox.bonecp.BoneCPConfig;
public class ConnectionFactory {
private static BoneCP pool;
private static final ConnectionFactory CONNECTION = new ConnectionFactory();
... |
4a5e5b12-0ad5-4a78-b83d-41ea6579c47d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-23 16:40:44", "repo_name": "ewangshi/wsapps", "sub_path": "/java/wsapps_sys/src/test/java/cc/wsapps/demo/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 972, "line_count": 30, "lan... | https://github.com/ewangshi/wsapps | 207 | FILENAME: App.java | 0.239349 | package cc.wsapps.demo;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.mybatis.generator.api.MyBatisGenerator;
import org.mybatis.generator.config.Configuration;
import org.mybatis.generator.config.xml.ConfigurationParser;
import org.mybatis.generator.internal.DefaultShellCallback;... |
8a461315-0329-404e-8637-813d9b8a3c02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-10 10:55:49", "repo_name": "ChristinaBartholomaeussen/Eksamen2021Projekt", "sub_path": "/src/main/java/com/example/eksamen2021/restcontroller/ParishRestController.java", "file_name": "ParishRestController.java... | https://github.com/ChristinaBartholomaeussen/Eksamen2021Projekt | 242 | FILENAME: ParishRestController.java | 0.272025 | package com.example.eksamen2021.restcontroller;
import com.example.eksamen2021.model.Parish;
import com.example.eksamen2021.service.ParishService;
import lombok.AllArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@Al... |
51c4703a-519f-4aca-9ab4-d0ad82019864 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-31 12:33:57", "repo_name": "ZhangPeng123456aabb/Itheima_JavaWeb", "sub_path": "/ZhangPeng/src/main/java/com/baizhi/spring/jdkproxy/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/ZhangPeng123456aabb/Itheima_JavaWeb | 262 | FILENAME: Test.java | 0.283781 | package com.baizhi.spring.jdkproxy;
import com.baizhi.spring.service.UserService;
import com.baizhi.spring.service.impl.UserServiceImpl;
import org.apache.log4j.helpers.Loader;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
//jdk动态代理
public class Test {
... |
b96a9e9a-eaeb-4a64-9f09-a2335b8b53c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-03 07:45:11", "repo_name": "Saifil/AndroidStudioProjects", "sub_path": "/KoffeeShop/app/src/main/java/com/example/saifil/koffeeshop/DrinkActivity.java", "file_name": "DrinkActivity.java", "file_ext": "java", "... | https://github.com/Saifil/AndroidStudioProjects | 210 | FILENAME: DrinkActivity.java | 0.247987 | package com.example.saifil.koffeeshop;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ImageView;
import android.widget.TextView;
public class DrinkActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
supe... |
599cbdf3-e84d-4d29-97fe-398c1beabc7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-11 16:25:11", "repo_name": "luhaobang2019/ssm_test", "sub_path": "/src/main/java/com/bang/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_byte": 990, "lin... | https://github.com/luhaobang2019/ssm_test | 203 | FILENAME: UserController.java | 0.243642 | package com.bang.controller;
import com.bang.entity.User;
import com.bang.service.IUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.List;
@RestController
@Slf4j
@RequestMappin... |
218a233b-d860-4710-b0cf-d1c0b00d8d13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-10 15:08:20", "repo_name": "humanheima/ijkplayer-example", "sub_path": "/ijkplayer-example/src/main/java/tv/danmaku/ijk/media/example/activities/MainActivity.java", "file_name": "MainActivity.java", "file_ext"... | https://github.com/humanheima/ijkplayer-example | 188 | FILENAME: MainActivity.java | 0.201813 | package tv.danmaku.ijk.media.example.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import tv.danmaku.ijk.media.example.R;
public class MainActivity extends AppCompatActivity {
private Button btnTest;
private But... |
59455ced-1028-4ec5-a3b6-984b403b71d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-27 02:24:54", "repo_name": "peterso05168/hku", "sub_path": "/hku-admin/src/main/java/com/accentrix/hku/web/common/RefCdBean.java", "file_name": "RefCdBean.java", "file_ext": "java", "file_size_in_byte": 1219, ... | https://github.com/peterso05168/hku | 276 | FILENAME: RefCdBean.java | 0.264358 | package com.accentrix.hku.web.common;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
4a27b89a-be54-4f83-a0b0-e1e20c5ce8e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 15:44:47", "repo_name": "BoopathyRaja/PhoneNumberUtil", "sub_path": "/phonenumberutil/src/main/java/com/br/phonenumberutil/data/EmailType.java", "file_name": "EmailType.java", "file_ext": "java", "file_size... | https://github.com/BoopathyRaja/PhoneNumberUtil | 205 | FILENAME: EmailType.java | 0.287768 | package com.br.phonenumberutil.data;
import com.br.commonutils.validator.Validator;
import java.util.HashMap;
import java.util.Map;
public enum EmailType {
GMAIL("@gmail.com"),
YAHOO("@yahoo.com"),
HOTMAIL("@hotmail.com"),
OUTLOOK("@outlook.com"),
LIVE("@live.com"),
OTHERS("");
private ... |
1b87ac5f-59b7-4e85-8fa0-3f8f2364bae7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-06 12:16:58", "repo_name": "paulsterpu/assignment5", "sub_path": "/src/EventGenerator.java", "file_name": "EventGenerator.java", "file_ext": "java", "file_size_in_byte": 987, "line_count": 44, "lang": "en", "d... | https://github.com/paulsterpu/assignment5 | 228 | FILENAME: EventGenerator.java | 0.285372 | import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.concurrent.ThreadPoolExecutor;
public class EventGenerator extends Thread{
int i;
String file;
public EventGenerator(int i , String file) {
this.i= i;
this.file = file;
}
synchronized public void run()... |
20a1897f-d678-46bd-881f-b9b5b8e610f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-12 01:00:39", "repo_name": "irwanafandi24/foodrient", "sub_path": "/app/src/main/java/com/example/miafandi/foody/Bahan/DetailResepActivity.java", "file_name": "DetailResepActivity.java", "file_ext": "java", "f... | https://github.com/irwanafandi24/foodrient | 212 | FILENAME: DetailResepActivity.java | 0.213377 | package com.example.miafandi.foody.Bahan;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.miafandi.foody.R;
public class DetailResepActivity extends AppCompatActivity {
p... |
6e930d0e-75db-43f7-aba4-7a995e0fd015 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-15 00:56:06", "repo_name": "HackerTheWorld/flink_read_kafka", "sub_path": "/src/main/java/flinksummary/vo/KeyVo.java", "file_name": "KeyVo.java", "file_ext": "java", "file_size_in_byte": 996, "line_count": 51,... | https://github.com/HackerTheWorld/flink_read_kafka | 249 | FILENAME: KeyVo.java | 0.259826 | package flinksummary.vo;
public class KeyVo {
public String jsonId;
public String mouldNoSys;
public String getJsonId() {
return jsonId;
}
public void setJsonId(String jsonId) {
this.jsonId = jsonId;
}
public String getMouldNoSys() {
return mouldNoSys;
}
... |
5088c4f9-4ec7-4ac8-9c3b-4974f7a46b4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-13 01:03:38", "repo_name": "gobiiproject/GOBii-System", "sub_path": "/gobiiproject/gobii-model/src/main/java/org/gobiiproject/gobiimodel/headerlesscontainer/LoaderInstructionFilesDTO.java", "file_name": "Loade... | https://github.com/gobiiproject/GOBii-System | 266 | FILENAME: LoaderInstructionFilesDTO.java | 0.264358 | package org.gobiiproject.gobiimodel.headerlesscontainer;
import org.gobiiproject.gobiimodel.tobemovedtoapimodel.Header;
import org.gobiiproject.gobiimodel.dto.instructions.loader.GobiiLoaderInstruction;
import org.gobiiproject.gobiimodel.types.GobiiProcessType;
import java.util.ArrayList;
import java.util.List;
/**
... |
27987f14-280d-4f38-afeb-a4efb7bd7cca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-09-09T22:30:47", "repo_name": "empiredata/empire-ruby-client", "sub_path": "/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 973, "line_count": 49, "lang": "en", "doc_type":... | https://github.com/empiredata/empire-ruby-client | 267 | FILENAME: CHANGELOG.md | 0.239349 | ## 0.3.4
Breaking changes:
- Renamed `empire-client.gemspec` to `empire.gemspec`.
## 0.3.3
Breaking changes:
- RubyGem package is now called `empire`.
## 0.3.2
Fixes:
- Fixed `connect` when secrets are provided via YAML
- Correctly demonstrating materialized views in `walkthrough`
## 0.3.1
Breaking cha... |
e699b707-6eb8-465a-8d44-fe826557bdca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-03-13T05:27:34", "repo_name": "sunteya/jekyll-quickstart", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 979, "line_count": 33, "lang": "en", "doc_type": "text", "... | https://github.com/sunteya/jekyll-quickstart | 260 | FILENAME: README.md | 0.278257 | # Jekyll::Quickstart
[](https://travis-ci.org/sunteya/jekyll-quickstart)
integrate jekyll-assets, compass, bower_rails and some useful helper to jekyll project.
## Installation
Add this line to your application's Gemfile:
gem 'je... |
32d632e5-53bb-4a08-9fad-e04492b03f41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-10 17:34:32", "repo_name": "mahieddine-ichir/spring.io", "sub_path": "/file-upload/src/main/java/com/michir/projects/springresttemplate/UploadBackendService.java", "file_name": "UploadBackendService.java", "fi... | https://github.com/mahieddine-ichir/spring.io | 214 | FILENAME: UploadBackendService.java | 0.240775 | package com.michir.projects.springresttemplate;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import org.apache.tomcat.util.http.fileupload.util.Streams;
import org.slf4j.Logger;
import org.springframework.stereotype.Service;
@Service
public class UploadBackendService ... |
8f246278-82c8-4ae0-b52b-55d0753100d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-29T16:08:06", "repo_name": "keymanapp/lexical-models", "sub_path": "/release/nrc/nrc.str.sencoten/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1079, "line_count": 33, "lang"... | https://github.com/keymanapp/lexical-models | 308 | FILENAME: README.md | 0.201813 | SENĆOŦEN Lexical Model
----------------------
This is a simple predictive text model for SENĆOŦEN, or the Saanich
dialect (BCP47: str-Latn).
Credits
-------
The word list was compiled by Dr. Timothy Montler (<montler@unt.edu>).
Find more here:
> 2018\. Montler, Timothy. SENĆOŦEN: A Dictionary of the Saanich Languag... |
33830c96-463e-42ab-aaeb-286c31095255 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-04 12:10:38", "repo_name": "along101/contract-center", "sub_path": "/contract-backend/src/main/java/com/along101/contract/entity/BaseEntity.java", "file_name": "BaseEntity.java", "file_ext": "java", "file_size... | https://github.com/along101/contract-center | 252 | FILENAME: BaseEntity.java | 0.262842 | package com.along101.contract.entity;
import lombok.Data;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*;
import java.io.Serializable;
import java.uti... |
1c84eeb7-9edc-4b89-b6b8-2a23fbe27c0f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-21 12:55:37", "repo_name": "lany192/BlurDialog", "sub_path": "/app/src/main/java/com/github/lany192/blurdialog/sample/SampleBottomDialogFragment.java", "file_name": "SampleBottomDialogFragment.java", "file_ext... | https://github.com/lany192/BlurDialog | 245 | FILENAME: SampleBottomDialogFragment.java | 0.27048 | package com.github.lany192.blurdialog.sample;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import com.github.lany192.blurdialog.BlurBottomDialogFragment;
public class SampleBottomDialogFragment extends BlurBottomDia... |
65f529ee-6a7e-45dd-8679-7cb817a66d7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-02 03:20:25", "repo_name": "2660075057/supermarket", "sub_path": "/src/main/java/com/grape/supermarket/common/interceptor/InitSystem.java", "file_name": "InitSystem.java", "file_ext": "java", "file_size_in_byt... | https://github.com/2660075057/supermarket | 228 | FILENAME: InitSystem.java | 0.224055 | package com.grape.supermarket.common.interceptor;
import com.grape.supermarket.common.util.PropertiesLoader;
import com.grape.supermarket.wechat.service.WechatService;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... |
31ccacd1-77f6-45ac-8a33-a4137e3e1bb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-19 16:55:51", "repo_name": "sahilaggarwal67/cdr", "sub_path": "/src/main/java/com/transform/cdr/model/Type2ShipModel.java", "file_name": "Type2ShipModel.java", "file_ext": "java", "file_size_in_byte": 1023, "l... | https://github.com/sahilaggarwal67/cdr | 254 | FILENAME: Type2ShipModel.java | 0.275909 | package com.transform.cdr.model;
import java.io.Serializable;
import java.util.List;
public class Type2ShipModel implements Serializable {
private Ship ship;
/*private double voiceRebate;
private double dataRebate;*/
private List<ManualFields> manualFields;
public Type2ShipModel() {
super();
}
public Type2... |
3c8a1068-c2b6-400b-9ba2-09b56d4585e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-11 13:20:28", "repo_name": "OndrejPittl/BillsTracker", "sub_path": "/app/src/main/java/cz/ondrejpittl/semestralka/layout/CustomImageButton.java", "file_name": "CustomImageButton.java", "file_ext": "java", "fil... | https://github.com/OndrejPittl/BillsTracker | 204 | FILENAME: CustomImageButton.java | 0.23092 | package cz.ondrejpittl.semestralka.layout;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageButton;
/**
* Created by OndrejPittl on 29.04.16.
*/
public class CustomImageButton extends ImageButton {
/**
* A flag indicating whether was a ... |
e985188b-3d01-4fda-8054-c5c16271a344 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-05 04:07:55", "repo_name": "albertoruvel/shakepoint-rest-api", "sub_path": "/src/main/java/com/shakepoint/web/api/data/entity/PromoCodeRedeem.java", "file_name": "PromoCodeRedeem.java", "file_ext": "java", "fi... | https://github.com/albertoruvel/shakepoint-rest-api | 277 | FILENAME: PromoCodeRedeem.java | 0.26588 | package com.shakepoint.web.api.data.entity;
import javax.persistence.*;
import java.util.UUID;
@Entity(name = "PromoRedeem")
@Table(name = "promocode_user")
public class PromoCodeRedeem {
@Id
private String id;
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "promocode_id")
private PromoC... |
be9a6041-4bcd-4b02-ae27-b6ddd14fcd51 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-10 04:23:25", "repo_name": "EasySocHacks/ITMO-Web-Homeworks", "sub_path": "/lab5/A+B+C+D+E+F+G+H/src/main/java/ru/itmo/wp/model/service/TalkService.java", "file_name": "TalkService.java", "file_ext": "java", "... | https://github.com/EasySocHacks/ITMO-Web-Homeworks | 198 | FILENAME: TalkService.java | 0.279042 | package ru.itmo.wp.model.service;
import com.google.common.base.Strings;
import ru.itmo.wp.model.domain.Talk;
import ru.itmo.wp.model.exception.ValidationException;
import ru.itmo.wp.model.repository.TalkRepository;
import ru.itmo.wp.model.repository.impl.TalkRepositoryImpl;
import java.util.List;
public class TalkS... |
b421eb8d-bffd-4d82-8be8-34ef2f8b64ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-01 00:49:22", "repo_name": "albertoruvel/pull-up", "sub_path": "/src/main/java/com/pullup/app/resource/EnterpriseResource.java", "file_name": "EnterpriseResource.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/albertoruvel/pull-up | 248 | FILENAME: EnterpriseResource.java | 0.285372 | /*
* 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.pullup.app.resource;
import com.pullup.app.delegate.EnterpriseDelegate;
import com.pullup.app.dto.request.CreateEnterprise... |
25b6f753-f7e6-472b-8986-6bba4f21c975 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-03 13:05:07", "repo_name": "fxzzq/AIRUI", "sub_path": "/GroupManage/src/main/java/glory/util/ResponseJson.java", "file_name": "ResponseJson.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 57... | https://github.com/fxzzq/AIRUI | 212 | FILENAME: ResponseJson.java | 0.214691 | package glory.util;
import org.codehaus.jackson.map.ObjectMapper;
import java.io.IOException;
/**
* Created by Monster on 2017/11/18.
*/
public class ResponseJson {
private int code;
private Object data;
private String msg;
public int getCode() {
return code;
}
public ResponseJ... |
e06f84de-6fd7-40fe-b6df-708b436fb549 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-10 00:34:43", "repo_name": "fast1997/Waste-Your-time", "sub_path": "/app/src/main/java/com/sp18/ssu370/WasteYourTime/model/Album.java", "file_name": "Album.java", "file_ext": "java", "file_size_in_byte": 972, ... | https://github.com/fast1997/Waste-Your-time | 200 | FILENAME: Album.java | 0.226784 | package com.sp18.ssu370.WasteYourTime.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
public class Album implements Parcelable {
@SerializedName("data")
private Memes singleData;
@SuppressWarnings("unchecked")
private Album(Parcel in... |
cd773bbf-5845-4224-b1c8-4e545dc9c8ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-31 23:41:21", "repo_name": "Gatimelo/PJS4-2", "sub_path": "/src/main/java/com/example/PJS4_2/DetailDemandeServlet.java", "file_name": "DetailDemandeServlet.java", "file_ext": "java", "file_size_in_byte": 979, ... | https://github.com/Gatimelo/PJS4-2 | 172 | FILENAME: DetailDemandeServlet.java | 0.249447 | package com.example.PJS4_2;
import lib.Article;
import lib.Mission;
import persistant.Data;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;
@WebServlet(name = "DetailDemandeServlet", value = "/mission/*")
public class DetailDemandeServlet extends Ht... |
024e2079-102e-4ffb-8b5a-1e2fdf2869b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-13 19:04:20", "repo_name": "kphillisjr/MaterialButtonDrawableBug", "sub_path": "/app/src/main/java/com/example/Main2Activity.java", "file_name": "Main2Activity.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/kphillisjr/MaterialButtonDrawableBug | 155 | FILENAME: Main2Activity.java | 0.213377 | package com.example;
import android.content.Intent;
import android.os.Bundle;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.snackbar.Snackbar;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import ... |
8a66d7f4-adc8-4990-879f-c27ecbe72613 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-15T16:59:10", "repo_name": "nzukie-b/snarl", "sub_path": "/A4/inbox/traveller-integration-report.md", "file_name": "traveller-integration-report.md", "file_ext": "md", "file_size_in_byte": 1194, "line_coun... | https://github.com/nzukie-b/snarl | 241 | FILENAME: traveller-integration-report.md | 0.256832 | Memorandum
-
DATE: February 4th, 2021
TO: Manager
FROM: Brandon Nzukie, Blake Hatch
SUBJECT: "Traveller Server Specification Implementation"
1. The other team implemented our specification almost fully truthfully, with the exception of some minor differences
in what the functions take in. However, I think given t... |
982576a4-c4b6-4012-84f5-72a5afe8e850 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-09 09:10:40", "repo_name": "lindsey2015/bx", "sub_path": "/src/main/java/cn/edu/xmut/modules/catagory/bean/Catagory.java", "file_name": "Catagory.java", "file_ext": "java", "file_size_in_byte": 1020, "line_cou... | https://github.com/lindsey2015/bx | 242 | FILENAME: Catagory.java | 0.273574 | package cn.edu.xmut.modules.catagory.bean;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotEmpty;
import cn.edu.xmut.core.entity.IdEntity;
@Entity
@Table(name="tb_catagory")
public class Catagory exten... |
41a4f7df-3c49-4474-af3b-bef0ceb70045 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-15 12:24:46", "repo_name": "avshabavsha/rabbitmqplainjava", "sub_path": "/src/main/java/com/rabbitmq/tutorial/Publisher.java", "file_name": "Publisher.java", "file_ext": "java", "file_size_in_byte": 968, "line... | https://github.com/avshabavsha/rabbitmqplainjava | 181 | FILENAME: Publisher.java | 0.235108 | package com.rabbitmq.tutorial;
import com.rabbitmq.client.Channel;
import java.io.IOException;
import java.net.URISyntaxException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.util.concurrent.TimeoutException;
import static com.rabbitmq.tutorial.ExampleConst... |
fdb5b847-f9a5-43e1-b55a-49adb201d0ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-07 08:59:19", "repo_name": "cgq1314520/how2l_blog", "sub_path": "/src/main/java/top/how2l/servlet/person/personShowServlet.java", "file_name": "personShowServlet.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/cgq1314520/how2l_blog | 225 | FILENAME: personShowServlet.java | 0.250913 | package top.how2l.servlet.person;
import top.how2l.pojo.user;
import top.how2l.service.person.personInfoShowService.personInfoSearchService;
import top.how2l.service.person.personInfoShowService.personShowServiceImpl;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.h... |
d8a14daa-0746-49d8-b1ed-518fb8be6430 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-12T21:00:09", "repo_name": "MrBurnsa/axon-algorithms", "sub_path": "/src/main/java/axon/data/collections/queue/DoubleStackQueue.java", "file_name": "DoubleStackQueue.java", "file_ext": "java", "file_size_in_by... | https://github.com/MrBurnsa/axon-algorithms | 206 | FILENAME: DoubleStackQueue.java | 0.295027 | package axon.data.collections.queue;
import java.util.ArrayDeque;
import java.util.Deque;
public final class DoubleStackQueue<T> implements Queue<T> {
private Deque<T> inbound = new ArrayDeque<>();
private Deque<T> outbound = new ArrayDeque<>();
public void push(T value) {
inbound.push(value);
... |
b094b7b5-baf6-4f6f-a84e-f5a4673ecb94 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-06 20:23:30", "repo_name": "Plotnikov-AS/lab9", "sub_path": "/src/main/java/ru/pis/lab9/dao/EmployeeDao.java", "file_name": "EmployeeDao.java", "file_ext": "java", "file_size_in_byte": 1069, "line_count": 43, ... | https://github.com/Plotnikov-AS/lab9 | 184 | FILENAME: EmployeeDao.java | 0.27513 | package ru.pis.lab9.dao;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Repository;
import ru.pis.lab9.model.Employee;
import ru.pis.lab9.repo.EmployeeRepo;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.transaction.Transactional;
import... |
a23ba66f-154c-46c0-ab9b-3d1bd4e27073 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-06 08:05:19", "repo_name": "davidsowerby/krail-tutorial", "sub_path": "/src/main/java/com/example/tutorial/pages/ContactDetailView.java", "file_name": "ContactDetailView.java", "file_ext": "java", "file_size_i... | https://github.com/davidsowerby/krail-tutorial | 250 | FILENAME: ContactDetailView.java | 0.264358 | package com.example.tutorial.pages;
import com.google.inject.Inject;
import com.vaadin.ui.FormLayout;
import com.vaadin.ui.Label;
import uk.q3c.krail.core.i18n.Translate;
import uk.q3c.krail.core.view.Grid3x3ViewBase;
import uk.q3c.krail.core.view.component.AfterViewChangeBusMessage;
import uk.q3c.krail.core.view.comp... |
dabb0cbc-67b5-4049-8b82-a2b75d78b10a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-04-26T12:06:26", "repo_name": "uncinimichel/liveshifting", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 46, "lang": "en", "doc_type": "text", "... | https://github.com/uncinimichel/liveshifting | 234 | FILENAME: README.md | 0.23231 | # LiveShifting
Be able to see who has triggered your Raspberry Pi's PIR motion sensors.
# To Discuss
* Pictures Or Videos?
Think about in terms of how much space needed locally or on the cloud.
Plus what it is going to be better if I am going to use a Object Detections model?
* Local Storage
* Pictures size ... |
a03aa8a9-98a0-4853-846d-13d8fb842ab5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 01:08:25", "repo_name": "13548899356/p2p_L", "sub_path": "/src/main/java/com/zking/ssm/util/ThreeIdentity.java", "file_name": "ThreeIdentity.java", "file_ext": "java", "file_size_in_byte": 1205, "line_count... | https://github.com/13548899356/p2p_L | 245 | FILENAME: ThreeIdentity.java | 0.282196 | package com.zking.ssm.util;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
import java.util.Iterator;
import java.util.Map;
public class ThreeIdentity {
public static Object get(String appCode, String url, Map<String, String> params) throws IOException {... |
de9f59c4-2aa6-4040-a714-94375f25087b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-21 12:42:21", "repo_name": "LewisWatson/demo-spring-data-couchbase-app", "sub_path": "/src/main/java/com/example/demospringdatacouchbaseapp/model/Car.java", "file_name": "Car.java", "file_ext": "java", "file_s... | https://github.com/LewisWatson/demo-spring-data-couchbase-app | 227 | FILENAME: Car.java | 0.225417 | package com.example.demospringdatacouchbaseapp.model;
import static org.springframework.data.couchbase.core.mapping.id.GenerationStrategy.USE_ATTRIBUTES;
import org.springframework.data.couchbase.core.mapping.Document;
import org.springframework.data.couchbase.core.mapping.id.GeneratedValue;
import org.springframework... |
18478618-38b2-447a-812f-3cc7bc2c5d74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-30 13:57:37", "repo_name": "chelsea710/teach", "sub_path": "/xc-service-manage-cms/src/main/java/com/xuecheng/manage_cms/service/TemplateService.java", "file_name": "TemplateService.java", "file_ext": "java", ... | https://github.com/chelsea710/teach | 231 | FILENAME: TemplateService.java | 0.281406 | package com.xuecheng.manage_cms.service;
import com.xuecheng.framework.domain.cms.CmsTemplate;
import com.xuecheng.framework.model.response.CommonCode;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.QueryResult;
import com.xuecheng.manage_cms.dao.CmsTempl... |
11eccd1f-6e71-466d-9376-9aef2a2a77e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-21T16:04:44", "repo_name": "preignition/program-user-guide", "sub_path": "/guidance-notes/survey-app/form-editor/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1103, "line_cou... | https://github.com/preignition/program-user-guide | 275 | FILENAME: README.md | 0.177811 | ---
description: This section covers everything you need to know about creating, editing and publishing forms
---
# Form Editor
Available how-to guide for forms:
* [Creating a new form](creating-a-new-form.md)
* [Adding questions to a form](how-to-add-a-question-to-a-form/)
* [Text based questions](how-to-add-a-q... |
caff4461-b86a-486c-8076-64ab5b33f475 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-21T08:00:09", "repo_name": "SrinivasaRaoMakkena/DICKsSportingGoodsAndroidCodingTest", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 967, "line_count": 27, "lang... | https://github.com/SrinivasaRaoMakkena/DICKsSportingGoodsAndroidCodingTest | 277 | FILENAME: README.md | 0.245085 | # DICKsSportingGoodsAndroidCodingTest
Android Basic Application with communicationg server and by using 3rd party libraries like Butterknife for view injection, Dagger2.0 for Dependency Injection, Rx-Java and Retrofit for network communication and GSON for image loading form the server etc.
Used 3rd Party Libraries
--... |
7b39cb52-c75c-41f9-9165-4c77497fc56f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-15 11:09:53", "repo_name": "dbeod2/hello-spring", "sub_path": "/src/main/java/hello/hellospring/controller/MemberController.java", "file_name": "MemberController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/dbeod2/hello-spring | 211 | FILENAME: MemberController.java | 0.245085 | package hello.hellospring.controller;
import hello.hellospring.domain.Member;
import hello.hellospring.model.MemberForm;
import hello.hellospring.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
... |
972663fd-036e-4abe-9076-ff185803814b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-04 22:51:55", "repo_name": "ashryanbeats/CSDKBase", "sub_path": "/app/src/main/java/com/adobe/csdkbase/MainApplication.java", "file_name": "MainApplication.java", "file_ext": "java", "file_size_in_byte": 1079,... | https://github.com/ashryanbeats/CSDKBase | 232 | FILENAME: MainApplication.java | 0.239349 | package com.adobe.csdkbase;
import android.app.Application;
import com.adobe.creativesdk.foundation.AdobeCSDKFoundation;
import com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials;
import com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment;
/**
* Created by ash on 12/16/15.
*/
publ... |
0e6a66eb-2902-433a-91c0-bc7495aecf05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-22 03:35:16", "repo_name": "sayid0924/jzr", "sub_path": "/app/src/main/java/com/jzr/bedside/ui/apadter/DoctorAdviceApadter.java", "file_name": "DoctorAdviceApadter.java", "file_ext": "java", "file_size_in_byte... | https://github.com/sayid0924/jzr | 265 | FILENAME: DoctorAdviceApadter.java | 0.293404 | package com.jzr.bedside.ui.apadter;
import android.content.Context;
import android.graphics.Color;
import android.widget.TextView;
import com.jzr.bedside.R;
import com.jzr.bedside.bean.BedInfoBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import java... |
b8fa79b4-cb6d-4c2b-9b51-29e124032f25 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-14 20:06:32", "repo_name": "emilwidengren/RadioInfo", "sub_path": "/src/main/java/Interface.java", "file_name": "Interface.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 38, "lang": "en", "... | https://github.com/emilwidengren/RadioInfo | 202 | FILENAME: Interface.java | 0.210766 | import javax.swing.*;
public class Interface {
private JFrame mainWindow;
private JMenuBar menuBar;
private JMenu menu;
private JMenu menu2;
private JMenuItem menuItem;
public Interface(){
/* -- INITIALIZE COMPONENTS -- */
mainWindow = new JFrame();
menuBar = new JMen... |
ed19463c-f9d8-485d-ac52-2630bb7fd4e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-19 23:30:53", "repo_name": "Ranock/camaraoLocal", "sub_path": "/src/main/java/programa/model/Telefone.java", "file_name": "Telefone.java", "file_ext": "java", "file_size_in_byte": 1044, "line_count": 60, "lang... | https://github.com/Ranock/camaraoLocal | 297 | FILENAME: Telefone.java | 0.245085 | package programa.model;
public class Telefone {
private Long id;
private String ddd;
private String number;
private String ddi;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getDdd() {
return ddd;
}
public void setDdd(String ddd) {
this.ddd = ddd;
... |
0353e8c6-afcc-4a99-84c2-55b3e15516da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-07 17:32:50", "repo_name": "quangIT210199/CuoiKiLTM", "sub_path": "/GiaiDeLTM/src/Q701/Cau4_Server.java", "file_name": "Cau4_Server.java", "file_ext": "java", "file_size_in_byte": 1195, "line_count": 42, "lang... | https://github.com/quangIT210199/CuoiKiLTM | 254 | FILENAME: Cau4_Server.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 tcp;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import... |
a4f7a43d-fb7f-4f11-8432-d455bd4583c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-19 05:26:39", "repo_name": "dhirajbadu/spring-boot-setup", "sub_path": "/src/main/java/com/setup/setup/SetupApplication.java", "file_name": "SetupApplication.java", "file_ext": "java", "file_size_in_byte": 978... | https://github.com/dhirajbadu/spring-boot-setup | 192 | FILENAME: SetupApplication.java | 0.250913 | package com.setup.setup;
import com.setup.setup.service.contact.ContactInfo;
import com.setup.setup.service.contact.ContactInfoRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplicatio... |
109447e4-4b96-407f-9744-199397702456 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-20 19:59:03", "repo_name": "JoakimAnder/webbshop", "sub_path": "/src/main/java/se/iths/webbshop/utilities/Search.java", "file_name": "Search.java", "file_ext": "java", "file_size_in_byte": 1134, "line_count": ... | https://github.com/JoakimAnder/webbshop | 241 | FILENAME: Search.java | 0.229535 | package se.iths.webbshop.utilities;
public class Search {
private String category;
private String query;
private String tags;
public Search() {
this.category = "orders";
this.query = "";
this.tags = "";
}
public Search(String category, String query, String tags) {
... |
30555f42-1d5b-48af-9edc-abcdfd643dc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-29 07:36:30", "repo_name": "lahmenev/HibernateProjects", "sub_path": "/FetchStrategy/src/main/java/com/hibernate/entity/Department.java", "file_name": "Department.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/lahmenev/HibernateProjects | 258 | FILENAME: Department.java | 0.262842 | package com.hibernate.entity;
import org.hibernate.annotations.BatchSize;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
/**
* email : s.lakhmenev@andersenlab.com
*
* @author Lakhmenev Sergey
* @ver... |
24c14b86-520c-4fe1-a483-37850bfe6bfc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-09 00:32:26", "repo_name": "dym3093/dolphin", "sub_path": "/src/main/java/com/dayton/dolphin/threadCore/test/MyExecutor.java", "file_name": "MyExecutor.java", "file_ext": "java", "file_size_in_byte": 1082, "li... | https://github.com/dym3093/dolphin | 231 | FILENAME: MyExecutor.java | 0.27048 | package com.dayton.dolphin.threadCore.test;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
*
* Created by bruce on 17-5-21.
*/
public class MyExecutor extends Thread{
private int index;
public MyExecutor(int index){
se... |
0ebb397a-5696-43a9-809e-d7a40b6ec182 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-18 01:49:10", "repo_name": "wallacehenriquesilva/Golden-Raspberry-Awards-Api", "sub_path": "/src/main/java/br/com/wallace/worstmovie/data/entities/ProducerEntity.java", "file_name": "ProducerEntity.java", "fil... | https://github.com/wallacehenriquesilva/Golden-Raspberry-Awards-Api | 252 | FILENAME: ProducerEntity.java | 0.264358 | package br.com.wallace.worstmovie.data.entities;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wallace.javapow.annotations.Csv;
import com.wallace.javapow.annotations.CsvColumn;
import lombok.*;
import javax.persistence.*;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
... |
4e58773e-ff66-4ec1-ae09-119c1cc96836 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 14:54:04", "repo_name": "youniforever/spring-data-elasticsearch", "sub_path": "/src/main/java/com/valueupsys/search/jobs/CollectPropertyTradesJob.java", "file_name": "CollectPropertyTradesJob.java", "file_e... | https://github.com/youniforever/spring-data-elasticsearch | 203 | FILENAME: CollectPropertyTradesJob.java | 0.250913 | package com.valueupsys.search.jobs;
import com.valueupsys.search.listener.DefaultJobListener;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.configuration.annotation.JobBuilderFactory;
import org.springframework.beans.factory.annotation.Qual... |
664baf44-bf48-45ce-b7d7-a3063f598bca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-26 08:48:53", "repo_name": "ricman-mo/demomybatistest", "sub_path": "/src/test/java/com/example/demo/testZookeeper.java", "file_name": "testZookeeper.java", "file_ext": "java", "file_size_in_byte": 1066, "line... | https://github.com/ricman-mo/demomybatistest | 238 | FILENAME: testZookeeper.java | 0.236516 | package com.example.demo;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;
import org.apache.zookeeper.ZooKeeper;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.test.context.Sp... |
5555b26f-2b22-4aec-8088-b1148095732c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-16 09:46:03", "repo_name": "hikingDX/SocketDemo1", "sub_path": "/src/TCPDemo/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 1395, "line_count": 41, "lang": "en", "doc_type":... | https://github.com/hikingDX/SocketDemo1 | 247 | FILENAME: Server.java | 0.286968 | package TCPDemo;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
/**
* Created by Administrator on 2017/2/7.
*/
//多线程
public class Server {
private static final int PORT = 7788;
public void listen() throws Exception{
//创建ServerSocket对象,监听指定的端口
ServerSocket ... |
99612a29-0f87-4fdf-ab2f-2028f510c46a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-07 15:39:19", "repo_name": "OnlyJCash/Eureka", "sub_path": "/eureka-cms/eureka-cms-rs-service/src/main/java/com/eureka/cms/rs/adapter/bean/cfg/ProjectBean.java", "file_name": "ProjectBean.java", "file_ext": "j... | https://github.com/OnlyJCash/Eureka | 268 | FILENAME: ProjectBean.java | 0.252384 | /**
*
*/
package com.eureka.cms.rs.adapter.bean.cfg;
import java.util.List;
/**
* @author mmazzilli
*
*/
public class ProjectBean extends BasicInfoBean {
private static final long serialVersionUID = 919155995953407419L;
private String footerDescription;
private Boolean localized;
private List<LocaleBean> l... |
dfc8090b-a5cf-41a9-aeb4-5c8dc2e10b56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-30 22:01:08", "repo_name": "BeloglazovKirill/TicTacToe", "sub_path": "/app/src/main/java/com/beloglazov/example/tictactoe/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in... | https://github.com/BeloglazovKirill/TicTacToe | 175 | FILENAME: MainActivity.java | 0.228156 | package com.beloglazov.example.tictactoe;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInsta... |
b23dd8a1-a67e-4e9c-854b-4a0bc7b5a598 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-18 14:24:55", "repo_name": "cryinggiraffe/JavaEE", "sub_path": "/network/src/com/company/ui/HomePage.java", "file_name": "HomePage.java", "file_ext": "java", "file_size_in_byte": 1197, "line_count": 45, "lang"... | https://github.com/cryinggiraffe/JavaEE | 239 | FILENAME: HomePage.java | 0.274351 | package com.company.ui;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class HomePage {
public void placeMeuu(JFrame jFrame, JPanel jPanel){
JMenuBar jMenuBar = new JMenuBar();
JMenu config_menu = new JMenu("获取配置");
JMenuItem ip_mac... |
64d286ea-cddb-4ec4-b50a-77f9556ca8d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 16:27:44", "repo_name": "knowledge-ai/kgai-java-raw", "sub_path": "/src/main/java/ai/knowledge/raw/reference/kafka/consumer/TrConsumer.java", "file_name": "TrConsumer.java", "file_ext": "java", "file_size_i... | https://github.com/knowledge-ai/kgai-java-raw | 238 | FILENAME: TrConsumer.java | 0.268941 | package ai.knowledge.raw.reference.kafka.consumer;
import lombok.extern.apachecommons.CommonsLog;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.kafka.config.Ka... |
a8b0496e-4ae0-4c63-89a3-aaabf82ff2b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-28 07:14:19", "repo_name": "hardiktandel/RailYatri", "sub_path": "/app/src/main/java/com/example/railyatri/Model/FoodCategoryModel.java", "file_name": "FoodCategoryModel.java", "file_ext": "java", "file_size_i... | https://github.com/hardiktandel/RailYatri | 212 | FILENAME: FoodCategoryModel.java | 0.206894 | package com.example.railyatri.Model;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class FoodCategoryModel {
@SerializedName("data")
List<FoodCategoryDataModel> data;
public List<FoodCategoryDataModel> getData() {
return data;
}
public void setData(Li... |
13af5ba6-921b-4293-b976-3571830e82f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 02:25:48", "repo_name": "biantaiwuzui/netx", "sub_path": "/trunk/netx-ucenter/src/main/java/com/netx/ucenter/vo/request/UpdatePasswordRequestDto.java", "file_name": "UpdatePasswordRequestDto.java", "file_ex... | https://github.com/biantaiwuzui/netx | 284 | FILENAME: UpdatePasswordRequestDto.java | 0.23231 | package com.netx.ucenter.vo.request;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.Pattern;
public class UpdatePasswordRequestDto {
@ApiModelProperty("用户名")
@NotBlank(message = "用户名不能为空")
private String userName;
... |
1d090762-6d7e-468c-a918-725702b23acc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-15 17:50:10", "repo_name": "Struti/thesis_CD", "sub_path": "/program/modules/domain/src/main/java/com/me/thesis/holiday/domain/holidayhistory/domain/YearHistory.java", "file_name": "YearHistory.java", "file_ex... | https://github.com/Struti/thesis_CD | 218 | FILENAME: YearHistory.java | 0.286169 | package com.me.thesis.holiday.domain.holidayhistory.domain;
import java.math.BigDecimal;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import lombok.Acces... |
f0aba9bc-f049-4c3d-871a-a4a735e8069c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-14 06:04:43", "repo_name": "avmurrie/CalculadoraPromedios", "sub_path": "/CalculadoraEspol/app/src/main/java/fiec/espol/edu/ec/calculadoraespol/Parsing.java", "file_name": "Parsing.java", "file_ext": "java", "... | https://github.com/avmurrie/CalculadoraPromedios | 221 | FILENAME: Parsing.java | 0.26971 | package fiec.espol.edu.ec.calculadoraespol;
import android.os.AsyncTask;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.util.List;
public class Parsing extends AsyncTask<String, Void, Modelo> {
private InterfaceParsing parserRes... |
27e44ae2-d79a-4371-a4d5-629424f3c2d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-10 17:24:00", "repo_name": "MohitMude/Poshan", "sub_path": "/app/src/main/java/com/iitism/poshan/Admin/MTCCentersModel.java", "file_name": "MTCCentersModel.java", "file_ext": "java", "file_size_in_byte": 1217,... | https://github.com/MohitMude/Poshan | 283 | FILENAME: MTCCentersModel.java | 0.256832 | package com.iitism.poshan.Admin;
public class MTCCentersModel {
String MTCName,Incharge,Address,Email,Password, mobile;
int beds;
public MTCCentersModel(String MTCName, String incharge, String address, String email, String password, String mobile) {
this.MTCName = MTCName;
Incharge = inch... |
7fce5410-9af5-4b1d-8ca6-4af25450ec2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-23 10:33:16", "repo_name": "PashaEagle/kafka-javafx-learn", "sub_path": "/javafx-kafka-client/src/sample/handler/UpdateHandler.java", "file_name": "UpdateHandler.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/PashaEagle/kafka-javafx-learn | 204 | FILENAME: UpdateHandler.java | 0.288569 | package sample.handler;
import com.fasterxml.jackson.core.type.TypeReference;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import sample.data.Context;
import sample.dto.Message;
import java.io.*;
import java.nio.charset.StandardCharsets;
import java.util.List;
import java.uti... |
cc011869-e18f-48ce-b92c-6b211b9637b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-16 09:36:42", "repo_name": "filipednb/skills", "sub_path": "/src/test/java/br/com/skills/admin/resources/UsersResourceTests.java", "file_name": "UsersResourceTests.java", "file_ext": "java", "file_size_in_byte... | https://github.com/filipednb/skills | 215 | FILENAME: UsersResourceTests.java | 0.279828 | package br.com.skills.admin.resources;
import br.com.skills.admin.entities.UserEntity;
import br.com.skills.admin.repositories.UsersRepository;
import org.assertj.core.api.Assertions;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... |
f54c02e0-c441-44b8-ba75-7f62a68c0b7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-01T10:58:46", "repo_name": "bethwelkip/e-learn", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1184, "line_count": 42, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/bethwelkip/e-learn | 374 | FILENAME: README.md | 0.23231 | # Title
## TUSOME e-learning
# Authors
* Paulyne Wambui
* Bethwel Kiplimo
* Ronald Kiprotich
* Daisy Jesang
* Dorcas Cherono
# Description
This is an amazing application ment to educate students of different grades study. You need to sign in in the application. Select your grade, select the subject you want to do th... |
9a92d853-613e-412b-bfc3-30cccec5d441 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-11 04:55:18", "repo_name": "CloudSlang/cs-actions", "sub_path": "/cs-abbyy/src/main/java/io/cloudslang/content/abbyy/entities/others/ExportFormat.java", "file_name": "ExportFormat.java", "file_ext": "java", "f... | https://github.com/CloudSlang/cs-actions | 247 | FILENAME: ExportFormat.java | 0.268941 | /*
* Copyright 2020-2023 Open Text
* This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Apache License is available at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
d384c807-a59f-4d20-955b-9ff815da955f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 22:44:07", "repo_name": "unsupo/Base-Android-Firebase-App", "sub_path": "/app/src/main/java/com/jarndt/tournament_app/utilities/Network.java", "file_name": "Network.java", "file_ext": "java", "file_size_in_... | https://github.com/unsupo/Base-Android-Firebase-App | 205 | FILENAME: Network.java | 0.26971 | package com.jarndt.tournament_app.utilities;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class Network {
public static boolean isNetworkAvailable(Context context) {
ConnectivityManager connectivityManager
= (ConnectivityMan... |
c87b496b-c302-4c62-8060-b4a27e021314 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-10 04:59:08", "repo_name": "kanathips/Friends-Trip", "sub_path": "/app/src/main/java/com/tinyandfriend/project/friendstrip/view/MainViewPager.java", "file_name": "MainViewPager.java", "file_ext": "java", "file... | https://github.com/kanathips/Friends-Trip | 207 | FILENAME: MainViewPager.java | 0.261331 | package com.tinyandfriend.project.friendstrip.view;
import android.content.Context;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.util.AttributeSet;
import com.tinyandfriend.project.friendstrip.adapter.ContentFragmentPagerAdapter;
/**
* Created by StandAlo... |
bc4f708c-b6fe-449f-8888-2ae4844c5f80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-14 08:27:13", "repo_name": "luoxianjiao/SpringBoot-Cloud", "sub_path": "/sleuth-trace-2/src/main/java/com/example/SleuthTrace2Application.java", "file_name": "SleuthTrace2Application.java", "file_ext": "java",... | https://github.com/luoxianjiao/SpringBoot-Cloud | 211 | FILENAME: SleuthTrace2Application.java | 0.242206 | package com.example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.R... |
d65356e9-68ff-4596-8485-2dce1dbec0ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-11 04:42:06", "repo_name": "rwz657026189/mvvmframe", "sub_path": "/basemodule/src/main/java/com/rwz/basemodule/entity/area/CityEntity.java", "file_name": "CityEntity.java", "file_ext": "java", "file_size_in_by... | https://github.com/rwz657026189/mvvmframe | 284 | FILENAME: CityEntity.java | 0.23092 | package com.rwz.basemodule.entity.area;
import com.rwz.ui.IPickerEntity;
import java.util.List;
/**
* Created by rwz on 2017/8/3.
* 市
*/
public class CityEntity implements IPickerEntity {
/**
* code : 110100
* name : 北京市
*/
private String code;
private String name;
private List<Are... |
1ec3303a-613a-4e00-81dd-90a94d1192e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-20 06:24:48", "repo_name": "ssooumyyaa/NCE-The-App", "sub_path": "/app/src/main/java/com/example/soumyasharma/nce_theapp/SplashScreen.java", "file_name": "SplashScreen.java", "file_ext": "java", "file_size_in_... | https://github.com/ssooumyyaa/NCE-The-App | 167 | FILENAME: SplashScreen.java | 0.213377 | package com.example.soumyasharma.nce_theapp;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
public class SplashScreen extends AppCompatActivity {
@Override
protected void onCreate(Bundle ... |
69cde6e1-848c-4273-ba97-0c6ad6e00a3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-24 12:55:45", "repo_name": "gauravrathore716/Audience-App", "sub_path": "/app/src/main/java/com/b2c/audience/model/CategoryListResponse.java", "file_name": "CategoryListResponse.java", "file_ext": "java", "fil... | https://github.com/gauravrathore716/Audience-App | 222 | FILENAME: CategoryListResponse.java | 0.2227 | package com.b2c.audience.model;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class CategoryListResponse {
@SerializedName("status")
private boolean status;
@SerializedName("message")
private String message;
@SerializedName("active")
private boolean acti... |
2076f045-7411-4087-b202-6a959bd8db64 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-02 15:46:04", "repo_name": "kouris-h/RoomDuplicator", "sub_path": "/src/main/java/exportable/Exportable.java", "file_name": "Exportable.java", "file_ext": "java", "file_size_in_byte": 1037, "line_count": 34, "... | https://github.com/kouris-h/RoomDuplicator | 194 | FILENAME: Exportable.java | 0.292595 | package exportable;
import org.json.JSONObject;
import parsers.Inventory;
import utils.Executor;
import java.lang.reflect.Field;
import java.util.List;
import java.util.Map;
public abstract class Exportable {
public Object export(ProgressListener progressListener) {
JSONObject jsonObject = new JSONObject... |
cce326d9-31b6-4cd5-8e60-c25475c2eb6d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-06 13:00:08", "repo_name": "asilvadelpozo/Guikuki", "sub_path": "/guikuki-web/src/main/java/com/guikuki/controller/PhotoController.java", "file_name": "PhotoController.java", "file_ext": "java", "file_size_in_... | https://github.com/asilvadelpozo/Guikuki | 210 | FILENAME: PhotoController.java | 0.239349 | package com.guikuki.controller;
import com.guikuki.persistence.exception.PhotoNotFoundException;
import com.guikuki.persistence.model.Photo;
import com.guikuki.service.PhotoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.htt... |
5d366030-a7fd-40e4-b288-68d92a81e1c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-19T15:39:21", "repo_name": "SparkPost/support-docs", "sub_path": "/content/docs/integrations/send-blaster.md", "file_name": "send-blaster.md", "file_ext": "md", "file_size_in_byte": 1136, "line_count": 22,... | https://github.com/SparkPost/support-docs | 267 | FILENAME: send-blaster.md | 0.198064 | ---
lastUpdated: "02/08/2020"
title: "Using SparkPost with SendBlaster"
description: "To use Spark Post as your SMTP Relay with Send Blaster click Send under the Messages Menu on the left hand navigation to bring up a dialogue box and follow these steps Set up your Sender e mail address to be an address from one of you... |
0d09ccbd-e205-4b7a-b28f-1bbed5b603bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-10 19:13:34", "repo_name": "worldsmp/Survival", "sub_path": "/src/main/java/com/theworldsmp/survival/events/SleepEvent.java", "file_name": "SleepEvent.java", "file_ext": "java", "file_size_in_byte": 1038, "lin... | https://github.com/worldsmp/Survival | 247 | FILENAME: SleepEvent.java | 0.26588 | package com.theworldsmp.survival.events;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerBedEnterEvent;
import org.bukkit.scheduler.BukkitRunnabl... |
606afbde-4407-4166-accd-590fe9273b9a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-03 09:09:00", "repo_name": "Elad73/Android-Udemy-Tutorials", "sub_path": "/AndroidAppDevForBeginners/app/src/main/java/com/example/eladron/androidappdevforbeginners/App55_LandscapeUI.java", "file_name": "App55... | https://github.com/Elad73/Android-Udemy-Tutorials | 200 | FILENAME: App55_LandscapeUI.java | 0.250913 | package com.example.eladron.androidappdevforbeginners;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.TextView;
public class App55_LandscapeUI extends AppCompatActivity {
@Ove... |
ebaa1b8b-ea2c-4a0c-a04e-28a981317c0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-25 08:41:25", "repo_name": "xiaoXcn/xiaoXcn", "sub_path": "/xiaoxcn/src/com/nebula/test/MyHttpServlet.java", "file_name": "MyHttpServlet.java", "file_ext": "java", "file_size_in_byte": 1106, "line_count": 38, ... | https://github.com/xiaoXcn/xiaoXcn | 200 | FILENAME: MyHttpServlet.java | 0.272025 | package com.nebula.test;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public abstract class MyHttpServlet extends MyGenericServ... |
5e078328-718e-4ca7-b637-a443b495678e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-14 01:10:26", "repo_name": "mario-plus/SpringCloud-alibaba", "sub_path": "/cloud-provide-hystrixPayment8007/src/main/java/com/mario/cloud/controller/HystrixPaymentController.java", "file_name": "HystrixPayment... | https://github.com/mario-plus/SpringCloud-alibaba | 223 | FILENAME: HystrixPaymentController.java | 0.204342 | package com.mario.cloud.controller;
import com.mario.cloud.service.PaymentService;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotat... |
f35e0f02-f5c0-4734-971a-a1f3b2386fb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-14T12:27:38", "repo_name": "akerigan/staxer", "sub_path": "/staxer-util/src/main/java/org/staxer/util/http/response/AbstractHttpResponse.java", "file_name": "AbstractHttpResponse.java", "file_ext": "java", "fi... | https://github.com/akerigan/staxer | 241 | FILENAME: AbstractHttpResponse.java | 0.291787 | package org.staxer.util.http.response;
import org.staxer.util.http.helper.HttpHelper;
import javax.servlet.ServletException;
import java.io.IOException;
/**
* User: Vlad Vinichenko (akerigan@gmail.com)
* Date: 23.10.2009
* Time: 11:09:20
*/
public abstract class AbstractHttpResponse implements HttpResponse {
... |
2c3f1885-e28d-4760-90c9-716453d6230f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-24 20:12:49", "repo_name": "jamesmwangi55/demo-news-api-android", "sub_path": "/app/src/main/java/com/demonews/demo_news_api_android/data/sources/SourcesRepository.java", "file_name": "SourcesRepository.java",... | https://github.com/jamesmwangi55/demo-news-api-android | 210 | FILENAME: SourcesRepository.java | 0.27048 | package com.demonews.demo_news_api_android.data.sources;
import android.support.annotation.NonNull;
import com.demonews.demo_news_api_android.data.Remote;
import com.demonews.demo_news_api_android.data.sources.models.Source;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
/**
* C... |
25afe6fc-4ef8-4d90-853c-7a32e8e44a07 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-14 16:54:54", "repo_name": "LatifY/HRMS", "sub_path": "/src/main/java/latifyilmaz/hrms/entities/concretes/School.java", "file_name": "School.java", "file_ext": "java", "file_size_in_byte": 1219, "line_count": ... | https://github.com/LatifY/HRMS | 252 | FILENAME: School.java | 0.290981 | package latifyilmaz.hrms.entities.concretes;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
@Data
@Entity
@Table(name="schools")
@AllArgsConstructor
@NoArgsConstructor
public class School {
@Id... |
96c3efef-8fa8-413c-b11b-7a701758294d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-21 03:42:15", "repo_name": "zjximfg/jn-imes-back-V2", "sub_path": "/imes_common/src/main/java/cn/jianing/imes/common/config/FeignTokenInterceptor.java", "file_name": "FeignTokenInterceptor.java", "file_ext": "... | https://github.com/zjximfg/jn-imes-back-V2 | 175 | FILENAME: FeignTokenInterceptor.java | 0.203075 | package cn.jianing.imes.common.config;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import javax.servlet.http.HttpServletRequest;
import java.util.Enumeration... |
410c0b16-6c94-49dd-8e1a-0007b4b27f15 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-25 12:52:25", "repo_name": "ghaniasim/tourguide", "sub_path": "/app/src/main/java/com/example/android/tourguide/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/ghaniasim/tourguide | 198 | FILENAME: MainActivity.java | 0.239349 | package com.example.android.tourguide;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import static com.example.android.tourguide.R.id.tour_button;
public class MainActivity extends AppCompatActivity {
... |
f9569e5c-f378-4586-9029-dfa3895315da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-16 08:53:16", "repo_name": "marschall/threeten-jpa", "sub_path": "/threeten-jpa-oracle-hibernate/src/main/java/com/github/marschall/threeten/jpa/oracle/hibernate/OracleOffsetDateTimeType.java", "file_name": "O... | https://github.com/marschall/threeten-jpa | 288 | FILENAME: OracleOffsetDateTimeType.java | 0.274351 | package com.github.marschall.threeten.jpa.oracle.hibernate;
import java.time.OffsetDateTime;
import org.hibernate.usertype.UserType;
import com.github.marschall.threeten.jpa.oracle.impl.TimestamptzConverter;
import oracle.sql.TIMESTAMPTZ;
/**
* Type mapping from {@link OffsetDateTime} to {@code TIMESTAMPTZ}.
*
... |
41898a38-1be7-4c57-8f85-f323b88dd2b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-12 23:13:30", "repo_name": "iaslabs/boilerplate-java-project", "sub_path": "/src/main/java/com/example/demo/infrastructure/serialization/sql/model/AfiliacionSqlDTO.java", "file_name": "AfiliacionSqlDTO.java", ... | https://github.com/iaslabs/boilerplate-java-project | 241 | FILENAME: AfiliacionSqlDTO.java | 0.235108 | package com.example.demo.infrastructure.serialization.sql.model;
import com.example.demo.application.domain.NumeroPoliza;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.time.Instant;
@Entity
public class AfiliacionSqlDTO {
@Id
private NumeroPoliza number;
private Instant create... |
cadddec1-f2af-43b9-b3d3-22a99d5d6b0d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-18 15:14:50", "repo_name": "ihorkozar/behance_mvp", "sub_path": "/app/src/main/java/i/kozar/behance_mvp/data/model/project/Cover.java", "file_name": "Cover.java", "file_ext": "java", "file_size_in_byte": 1134,... | https://github.com/ihorkozar/behance_mvp | 242 | FILENAME: Cover.java | 0.239349 | package i.kozar.behance_mvp.data.model.project;
import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.ForeignKey;
import androidx.room.PrimaryKey;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
@Entity(foreignKeys = ... |
e148b519-35a1-4123-aa5e-788ded5658e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-03T08:09:00", "repo_name": "AshlandWest/SugarHelper", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1183, "line_count": 17, "lang": "en", "doc_type": "text", "b... | https://github.com/AshlandWest/SugarHelper | 277 | FILENAME: README.md | 0.225417 | # Sugar Helper Plugin
This is a Google Chrome extension to make life a little easier for PBHS's employees when copying email addresses from Sugar, especially if done in large batches.
It will add a copy button next to each email address on the page.
This is helpful because the standard 'copy link' function does not w... |
a75ec317-cac1-477d-aed9-9599490c3a4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-07 09:09:45", "repo_name": "yangwx1402/young-examples", "sub_path": "/druid-example/druid-datasource-example/src/main/java/com/young/java/examples/druid/DruidDataSourceExample.java", "file_name": "DruidDataSou... | https://github.com/yangwx1402/young-examples | 208 | FILENAME: DruidDataSourceExample.java | 0.252384 | package com.young.java.examples.druid;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
* ... |
221a0046-3054-422f-81ea-b164afd451c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-07 03:05:46", "repo_name": "zjwab118/games", "sub_path": "/code/service/wm_start/src/main/java/com/wm/boot/game/GameCongtroller.java", "file_name": "GameCongtroller.java", "file_ext": "java", "file_size_in_byt... | https://github.com/zjwab118/games | 225 | FILENAME: GameCongtroller.java | 0.220007 | package com.wm.boot.game;
import com.wm.boot.core.Result;
import com.wm.boot.game.service.IMatchService;
import com.wm.boot.game.vo.MatchVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.sp... |
05d2f4e7-0200-4e5f-8390-ad1fa6723155 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 18:41:09", "repo_name": "sanjeevsharmabj/MyJavaProgrammes", "sub_path": "/jpa-hibernate-demo3/src/main/java/com/wellsfargo/jpahd/entity/Address.java", "file_name": "Address.java", "file_ext": "java", "file_... | https://github.com/sanjeevsharmabj/MyJavaProgrammes | 241 | FILENAME: Address.java | 0.256832 | package com.wellsfargo.jpahd.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;
@Embeddable
public class Address implements Serializable{
@Column(name="dno",nullable = false)
private String doorNumber;
@Column(name="street",nullable = false)
pri... |
5512dcfa-24d1-4c6d-afa3-fe9171e99a98 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-10T20:03:00", "repo_name": "RenatoBrittoAraujo/WEB-EXTREME", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1182, "line_count": 53, "lang": "en", "doc_type": "te... | https://github.com/RenatoBrittoAraujo/WEB-EXTREME | 299 | FILENAME: README.md | 0.262842 | # WEB EXTREME
### A quarantine challenge for web developers
Creating a CRUD using only HTML and C++.
Only allowed libs? The ones that come with standard Ubuntu.
Also, you must parse and create HTTP requests and responses.
Your CRUD must be of a resource such as a blog post, with more than 1 field. For example: Blog... |
73ed325b-256b-4761-9cb2-a901d95dbaa5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-28 10:19:28", "repo_name": "lidebao513/Java", "sub_path": "/HttpApiTest/src/test/java/apis/Params.java", "file_name": "Params.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 35, "lang": "en... | https://github.com/lidebao513/Java | 250 | FILENAME: Params.java | 0.267408 | package apis;
import com.jayway.restassured.RestAssured;
import com.jayway.restassured.response.Response;
import org.testng.annotations.Test;
import static com.jayway.restassured.RestAssured.given;
/**
* Created by Chuckie on 2017/11/18.
*/
public class Params {
@Test
public void restfulParamsTest(){
... |
0b242c07-1678-4277-989f-1b4ec0fca582 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-26 14:40:31", "repo_name": "Allenary/sytossCinemaTraining", "sub_path": "/cinemaBom/src/main/java/com/sytoss/training/cinema/bom/Movie.java", "file_name": "Movie.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Allenary/sytossCinemaTraining | 259 | FILENAME: Movie.java | 0.253861 | package com.sytoss.training.cinema.bom;
import org.apache.commons.lang.StringUtils;
public class Movie {
private String name;
private String description;
private int duration;
public Movie(String name) {
setName(name);
}
public String getName() {
return name;
}
public void setName(String... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.