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 |
|---|---|---|---|---|---|---|
1f33f512-95df-4773-a27b-09dde75e8cf9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-28 05:08:55", "repo_name": "wenhuaguo/web-", "sub_path": "/mysrping/src/test/java/com/kaishengit/SubjectProxyTestCase.java", "file_name": "SubjectProxyTestCase.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/wenhuaguo/web- | 259 | FILENAME: SubjectProxyTestCase.java | 0.287768 | package com.kaishengit;
import com.kaishengit.proxy.*;
import net.sf.cglib.proxy.Enhancer;
import org.junit.Test;
import java.lang.reflect.Proxy;
/**
* Created by Acer on 2017/1/7.
*/
public class SubjectProxyTestCase {
@Test
public void sayHello(){
SubjectProxy subjectProxy = new SubjectProxy();... |
9a48bd2f-bfac-4d39-bc9c-bfc5f8ce5434 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-06 17:58:19", "repo_name": "henritoi/Doodlz", "sub_path": "/app/src/main/java/com/example/doodlz/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1009, "line_count... | https://github.com/henritoi/Doodlz | 173 | FILENAME: MainActivity.java | 0.229535 | package com.example.doodlz;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import android.os.Bundle;
import android.util.Log;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
public class MainActivity extends AppCompatActivity {
private... |
1bd06230-c748-4f28-a3e8-9bbf15a29695 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-11 19:42:37", "repo_name": "gabrieltnishimura/evans", "sub_path": "/java/evans-server1.2/src/br/com/evans/db/dao/tasks/MetronicTask.java", "file_name": "MetronicTask.java", "file_ext": "java", "file_size_in_by... | https://github.com/gabrieltnishimura/evans | 239 | FILENAME: MetronicTask.java | 0.250913 | package br.com.evans.db.dao.tasks;
import java.util.Date;
import org.jongo.marshall.jackson.oid.Id;
import br.com.evans.db.dao.tags.MetronicTag;
public class MetronicTask {
@Id
private long _id;
private String information;
private Date date;
private boolean pending;
private MetronicTag tag;
public Metronic... |
80b76b82-5b98-4f8b-9019-f440220fd5f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-19 19:43:57", "repo_name": "PavelIlin993/cloud.storage-", "sub_path": "/src/main/java/com/pavelilin/cloud/storage/client/HeaderFactory.java", "file_name": "HeaderFactory.java", "file_ext": "java", "file_size_i... | https://github.com/PavelIlin993/cloud.storage- | 226 | FILENAME: HeaderFactory.java | 0.280616 | package com.pavelilin.cloud.storage.client;
import java.nio.ByteBuffer;
import static com.pavelilin.cloud.storage.client.ClientConsts.EXTENDED_HEADER_BUFFER_SIZE;
import static com.pavelilin.cloud.storage.client.ClientConsts.HEADER_BUFFER_SIZE;
public final class HeaderFactory {
public static ByteBuffer getFileUp... |
5dc09918-7d5f-4849-81b7-af18370701a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-07 18:51:50", "repo_name": "saumyasrivastava22/user-registration", "sub_path": "/src/main/java/com/codedefnotfound/userregistration/service/ProfileService.java", "file_name": "ProfileService.java", "file_ext":... | https://github.com/saumyasrivastava22/user-registration | 218 | FILENAME: ProfileService.java | 0.272025 | package com.codedefnotfound.userregistration.service;
import com.codedefnotfound.userregistration.model.Profile;
import com.codedefnotfound.userregistration.persistence.mapper.ModelMapper;
import com.codedefnotfound.userregistration.persistence.repository.ProfileRepository;
import org.springframework.beans.factory.ann... |
ca422ac1-f571-4999-bee6-db52cb523a1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-19 03:55:38", "repo_name": "npratik/IOTSmartGrid", "sub_path": "/src/Business/Person/PersonDirectory.java", "file_name": "PersonDirectory.java", "file_ext": "java", "file_size_in_byte": 1004, "line_count": 49,... | https://github.com/npratik/IOTSmartGrid | 196 | FILENAME: PersonDirectory.java | 0.278257 | /*
* 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 Business.Person;
import java.util.ArrayList;
/**
*
* @author Pratik
*/
public class PersonDirectory {
private Arr... |
5d300b95-9146-4e51-ae0b-5ca5dc3f3d70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-28 11:55:46", "repo_name": "zcnet/tinyAppPlateform", "sub_path": "/weexandroid_module/src/main/java/com/sun/weexandroid_module/WxAndroidApplication.java", "file_name": "WxAndroidApplication.java", "file_ext": ... | https://github.com/zcnet/tinyAppPlateform | 246 | FILENAME: WxAndroidApplication.java | 0.26588 | package com.sun.weexandroid_module;
import android.app.Application;
import com.taobao.weex.InitConfig;
import com.taobao.weex.WXSDKEngine;
import com.taobao.weex.common.WXException;
/**
* Created by sun on 2018/8/6
* <p>
* <p>
* 用于初始化及注册组件
*/
public class WxAndroidApplication {
private static final String ... |
c1e9c54d-3871-48c6-9b35-d61320621d52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-22 21:19:17", "repo_name": "Arvindo9/MartitesAllen", "sub_path": "/app/src/main/java/com/maritesallen/almanac2020/data/model/apis/calender/CalendarResponse.java", "file_name": "CalendarResponse.java", "file_ex... | https://github.com/Arvindo9/MartitesAllen | 247 | FILENAME: CalendarResponse.java | 0.217338 | package com.maritesallen.almanac2020.data.model.apis.calender;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Author : Arvindo Mondal
* Created on 12-12-2019
*/
public class CalendarResponse {
@SerializedName("success")
@Expose
private Boolean succe... |
02db334b-1c1c-4b1f-bf61-d6df48a08af9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-14 16:37:32", "repo_name": "prajwalgambhir/HeadyEcommerce", "sub_path": "/app/src/main/java/com/beebrainy/heady/ecommerce/server/models/VariantEntity.java", "file_name": "VariantEntity.java", "file_ext": "java... | https://github.com/prajwalgambhir/HeadyEcommerce | 220 | FILENAME: VariantEntity.java | 0.229535 | package com.beebrainy.heady.ecommerce.server.models;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
public class VariantEntity extends RealmObject {
@PrimaryKey
long id;
String color;
Integer size;
Integer price;
public VariantEntity() {
}
publi... |
ade35c2f-baf9-4949-aa7d-3644b67ab33a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-15 09:37:06", "repo_name": "zeng-s-h/exceldeal", "sub_path": "/src/main/java/com/zsh/excel/exceloperate/fieldcheck/strategy/StringValueCheck.java", "file_name": "StringValueCheck.java", "file_ext": "java", "fi... | https://github.com/zeng-s-h/exceldeal | 255 | FILENAME: StringValueCheck.java | 0.240775 | package com.zsh.excel.exceloperate.fieldcheck.strategy;
import com.zsh.excel.exceloperate.common.ErrorMessageEnum;
import com.zsh.excel.exceloperate.common.ErrorMsgUtils;
import com.zsh.excel.exceloperate.fieldcheck.AbstractStrategy;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Co... |
2c9dd987-2c3b-466d-b9d5-4c5dc9322d22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-20 14:31:11", "repo_name": "lw33/seckill", "sub_path": "/src/main/java/top/lw33/seckill/exception/GlobalExceptionHandler.java", "file_name": "GlobalExceptionHandler.java", "file_ext": "java", "file_size_in_byt... | https://github.com/lw33/seckill | 242 | FILENAME: GlobalExceptionHandler.java | 0.258326 | package top.lw33.seckill.exception;
import org.springframework.validation.BindException;
import org.springframework.validation.ObjectError;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.Re... |
b9e921ef-75f0-4c6f-8a48-d77160f369f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-13 01:28:55", "repo_name": "israhjf/healthApp", "sub_path": "/app/src/main/java/israel/healthapp/views/onboarding/AuthenticationActivity.java", "file_name": "AuthenticationActivity.java", "file_ext": "java", "... | https://github.com/israhjf/healthApp | 157 | FILENAME: AuthenticationActivity.java | 0.201813 | package israel.healthapp.views.onboarding;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentTransaction;
import androidx.viewpager.widget.ViewPager;
import android.os.Bundle;
import android.util.Log;
import com.google.android.material.tabs.TabLayout;
import israel.healthapp.R;
... |
58eb9c11-df0b-4ffd-adc5-25514a450777 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-26 03:29:29", "repo_name": "BioJJ/api-posts", "sub_path": "/src/main/java/com/posts/api/rest/PostsController.java", "file_name": "PostsController.java", "file_ext": "java", "file_size_in_byte": 1131, "line_cou... | https://github.com/BioJJ/api-posts | 208 | FILENAME: PostsController.java | 0.272799 | package com.posts.api.rest;
import com.posts.api.model.repository.PostsRepository;
import com.posts.api.model.entify.Posts;
import javafx.geometry.Pos;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org... |
88147644-0201-4a7f-914d-1369bd7d0e76 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-01 11:18:35", "repo_name": "silbogdan/sportsfinder", "sub_path": "/backend/src/main/java/com/backend/models/County.java", "file_name": "County.java", "file_ext": "java", "file_size_in_byte": 1214, "line_count"... | https://github.com/silbogdan/sportsfinder | 247 | FILENAME: County.java | 0.264358 | package com.backend.models;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import javax.persistence.*;
import java.util.List;
@Entity
public class County {
@Id @GeneratedValue
private Long countyId;
private String name;
@Many... |
4cf0e765-fc94-48bf-9b76-c97c1df731d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-08 14:13:52", "repo_name": "dkaramanov/falcon", "sub_path": "/src/main/java/com/karamanov/falcon/db/model/MessageEntity.java", "file_name": "MessageEntity.java", "file_ext": "java", "file_size_in_byte": 1229, ... | https://github.com/dkaramanov/falcon | 262 | FILENAME: MessageEntity.java | 0.267408 | package com.karamanov.falcon.db.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
* @auth... |
d21fdf27-e4e0-4119-b293-4641df74862e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-01 13:05:24", "repo_name": "dergey/auction-backend", "sub_path": "/module/database/src/main/java/com/sergey/zhuravlev/auctionserver/database/entity/Feedback.java", "file_name": "Feedback.java", "file_ext": "ja... | https://github.com/dergey/auction-backend | 248 | FILENAME: Feedback.java | 0.275909 | package com.sergey.zhuravlev.auctionserver.database.entity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import java.util.Date;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "feedbacks")
publi... |
8ad39e31-03fa-4d40-829f-5b3058ed7e49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-02 14:56:29", "repo_name": "zsptsf/springboot", "sub_path": "/wxzdemo/src/test/java/com/zspt_sf/demo/repository/SignRepositoryTest.java", "file_name": "SignRepositoryTest.java", "file_ext": "java", "file_size_... | https://github.com/zsptsf/springboot | 228 | FILENAME: SignRepositoryTest.java | 0.27048 | package com.zspt_sf.demo.repository;
import com.zspt_sf.demo.entity.Sign;
import com.zspt_sf.demo.entity.User;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import java.util.Date;
@SpringBootTes... |
920769d8-256f-4f2c-acd8-8c60f2a7462a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-16 11:45:35", "repo_name": "howardhou/Spring", "sub_path": "/HibernateDemo/src/com/example/demo/HibernateTest.java", "file_name": "HibernateTest.java", "file_ext": "java", "file_size_in_byte": 1325, "line_coun... | https://github.com/howardhou/Spring | 254 | FILENAME: HibernateTest.java | 0.277473 | package com.example.demo;
import com.example.demo.entity.User;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
public class HibernateTest {
private static SessionFactory sessionFactory;
static {
Configuration... |
ac472d01-bee3-4ede-837b-2f2bbfe80840 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-03T19:30:42", "repo_name": "andre91998/Android-Studio", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 972, "line_count": 19, "lang": "en", "doc_type": "text", "... | https://github.com/andre91998/Android-Studio | 191 | FILENAME: README.md | 0.20947 | # App Creation Tutorial Repo
This repository is meant to make learning to create apps for android devices with Android Studio simpler. This tutorial will take you through building you first app, the fundamental concepts and components of each application, and other important concepts for beginners in app development.... |
f9506422-c468-4ec8-970f-3a29cb836a8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-04 00:39:05", "repo_name": "lm2343635/Blog", "sub_path": "/src/main/java/org/fczm/blog/component/ConfigComponent.java", "file_name": "ConfigComponent.java", "file_ext": "java", "file_size_in_byte": 985, "line_... | https://github.com/lm2343635/Blog | 227 | FILENAME: ConfigComponent.java | 0.26588 | package org.fczm.blog.component;
import org.fczm.blog.component.config.Page;
import org.fczm.common.util.JsonTool;
import org.springframework.stereotype.Component;
@Component
public class ConfigComponent {
// Default file upload folder.
public String UploadFolder = "/files";
// Picture format.
publi... |
fc42a2a3-cec9-4e56-8d9b-c1d3a7a3b5bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-19 05:41:06", "repo_name": "ryznocaHub/SistemGudang", "sub_path": "/Konfig.java", "file_name": "Konfig.java", "file_ext": "java", "file_size_in_byte": 1107, "line_count": 34, "lang": "en", "doc_type": "code", ... | https://github.com/ryznocaHub/SistemGudang | 221 | FILENAME: Konfig.java | 0.267408 | /*
* 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.SistemGudang.program;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
... |
050b1619-bc8d-4d46-949a-dd5e0f9625b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-29 09:32:21", "repo_name": "alostale/hackathon-akka", "sub_path": "/src/main/java/org/openbravo/hackathon/akka/LogReceiver.java", "file_name": "LogReceiver.java", "file_ext": "java", "file_size_in_byte": 1077,... | https://github.com/alostale/hackathon-akka | 236 | FILENAME: LogReceiver.java | 0.256832 | package org.openbravo.hackathon.akka;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.Date;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
public class LogReceiver {
public static void main(String[] args) throws IOException {
final ActorSystem... |
d0bde4ad-dddd-478d-a195-794d69333c1d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-16 08:44:45", "repo_name": "changmingxie/tcc-transaction", "sub_path": "/tcc-transaction-tutorial-sample/tcc-transaction-multiple-tier-sample/tcc-transaction-multiple-tier-trade/src/main/java/org/tcctransactio... | https://github.com/changmingxie/tcc-transaction | 240 | FILENAME: TradeService.java | 0.279042 | package org.tcctransaction.sample.multiple.tier.trade.service;
import org.apache.commons.lang3.time.DateFormatUtils;
import org.apache.dubbo.config.annotation.DubboReference;
import org.mengyun.tcctransaction.api.Compensable;
import org.springframework.stereotype.Service;
import org.tcctransaction.sample.multiple.tier... |
70a310db-0c07-4b5e-a1fe-0e22c5bc88f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-13 01:50:44", "repo_name": "sjcnhlm/My_Work", "sub_path": "/count_people(安卓端)/app/src/main/java/com/example/lm/count_people/Activity/BaseCompatActivity.java", "file_name": "BaseCompatActivity.java", "file_ext"... | https://github.com/sjcnhlm/My_Work | 244 | FILENAME: BaseCompatActivity.java | 0.283781 | package com.example.lm.count_people.Activity;
import android.content.IntentFilter;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.example.lm.count_people.BroadcastReceiver.LoginOutBroadcastReceiver;
import com.example.lm.count_people.util.ActivityCollector;
public class BaseCom... |
096c495f-efc3-490b-b39c-7ceb32f1c46b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-15 09:33:05", "repo_name": "jochenwierum/rpg-soundscape", "sub_path": "/standalone-parser/src/main/java/de/jowisoftware/rpgsoundscape/model/Effect.java", "file_name": "Effect.java", "file_ext": "java", "file_s... | https://github.com/jochenwierum/rpg-soundscape | 206 | FILENAME: Effect.java | 0.264358 | package de.jowisoftware.rpgsoundscape.model;
import de.jowisoftware.rpgsoundscape.exceptions.ErrorPosition;
import de.jowisoftware.rpgsoundscape.exceptions.SemanticException;
import de.jowisoftware.rpgsoundscape.language.psi.SMusicEffectDefinition;
public record Effect(
String name,
Play play,
... |
e5a932f0-fb12-4b7b-ac80-7e2921afe0e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-14 21:37:02", "repo_name": "AfiMaameDufie/FAAJ", "sub_path": "/client-service/src/main/java/com/example/clientservice/model/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/AfiMaameDufie/FAAJ | 207 | FILENAME: Client.java | 0.258326 | package com.example.clientservice.model;
import java.util.ArrayList;
import java.util.List;
public class Client {
private int id;
private String email;
private List<Portfolio> portfolios;
public Client(int id, String email) {
this.id = id;
this.email = email;
th... |
d73c06f8-13ca-4aa1-9785-694de0a36f36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-12T23:32:09", "repo_name": "Talon24/savegame_manager", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1040, "line_count": 20, "lang": "en", "doc_type": "text", "... | https://github.com/Talon24/savegame_manager | 216 | FILENAME: README.md | 0.20947 | # Savegame Controller
Version control made for VisualBoyAdvance savegames, but should work for every game that has one (or a limited number of) save files that it overrides
## Usage
### backup_savegames.py
Copy this file in the folder that contains your savegame files. On Execution, it will Generate a Folder that st... |
3901c28d-5ba9-489b-bc2f-94bbe7cd20c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-18 09:15:14", "repo_name": "dengnong/GOLF-CRM", "sub_path": "/golf-crm-02/src/callcenter/Member.java", "file_name": "Member.java", "file_ext": "java", "file_size_in_byte": 1215, "line_count": 60, "lang": "en",... | https://github.com/dengnong/GOLF-CRM | 327 | FILENAME: Member.java | 0.268941 | package callcenter;
public class Member {
private int ord_Number;
private String ord_Phone;
private String ord_Name;
private int ord_Message;
public int getOrd_Message() {
return ord_Message;
}
public void setOrd_Message(int ord_Message) {
this.ord_Message = ord_Message;
}
public Member(int ord_Number, ... |
84f19472-8e8e-4bdc-9018-cc0e3fe1e0f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-25 02:40:19", "repo_name": "rlawjdrb00/junggyu", "sub_path": "/src/main/java/com/spring/service/MemberServiceImpl.java", "file_name": "MemberServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1002, "l... | https://github.com/rlawjdrb00/junggyu | 188 | FILENAME: MemberServiceImpl.java | 0.23793 | package com.spring.service;
import com.spring.dto.Member;
import com.spring.mapper.MemberMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.servlet.http.HttpSession;
@Service
public class MemberServiceImpl implements MemberService {
... |
30cb02d9-6216-4ded-a733-29cc1ebab2b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-10 21:06:22", "repo_name": "svilen-tech/Java-Exercise", "sub_path": "/Java-Advanced/BakeryExamPrep/src/bakery/repositories/DrinkRepositoryImpl.java", "file_name": "DrinkRepositoryImpl.java", "file_ext": "java"... | https://github.com/svilen-tech/Java-Exercise | 194 | FILENAME: DrinkRepositoryImpl.java | 0.291787 | package bakery.repositories;
import bakery.entities.drinks.interfaces.Drink;
import bakery.repositories.interfaces.DrinkRepository;
import java.util.ArrayList;
import java.util.Collection;
public class DrinkRepositoryImpl<T> implements DrinkRepository<Drink> {
Collection<Drink> drinkCollection;
p... |
5904c87e-7e06-41f3-a478-8b381e5a8908 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-04 17:36:23", "repo_name": "seahen/restaurant-rn", "sub_path": "/src/main/java/com/demo/connectrn/models/ReservationResponse.java", "file_name": "ReservationResponse.java", "file_ext": "java", "file_size_in_by... | https://github.com/seahen/restaurant-rn | 209 | FILENAME: ReservationResponse.java | 0.243642 | package com.demo.connectrn.models;
import java.util.ArrayList;
import java.util.List;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Response data structure packaging which reservation requests were successful and which were not.
*
* @author sean
*/
@Schema(title = "Response to reservation requests.")... |
36ea0006-3e0e-48aa-ac49-c9c1799eaf23 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-05 15:57:17", "repo_name": "HVoltBb/Java_Programming_Coursera", "sub_path": "/src/PhraseFilter.java", "file_name": "PhraseFilter.java", "file_ext": "java", "file_size_in_byte": 1106, "line_count": 41, "lang": ... | https://github.com/HVoltBb/Java_Programming_Coursera | 221 | FILENAME: PhraseFilter.java | 0.27048 | public class PhraseFilter implements Filter {
private String where;
private String phrase;
private String name;
public PhraseFilter(String wh, String term){
if(wh.equals("start") || wh.equals("end") || wh.equals("any")) {
where = wh;
} else {
where = "an... |
70b71ec3-ab2f-4282-b227-6a3d3537da03 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-08-16 15:49:17", "repo_name": "jonasgreen/24moveit", "sub_path": "/src/com/moveit/server/repository/InvitationConverter.java", "file_name": "InvitationConverter.java", "file_ext": "java", "file_size_in_byte": 113... | https://github.com/jonasgreen/24moveit | 243 | FILENAME: InvitationConverter.java | 0.285372 | package com.moveit.server.repository;
import com.moveit.client.model.CreateInvitation;
import com.moveit.client.model.Invitation;
import com.moveit.server.jdo.InvitationJDO;
import java.util.Date;
/**
*
*/
public class InvitationConverter extends Converter<InvitationJDO, Invitation, CreateInvitation> {
public... |
0b3e5436-d28c-4d9d-8623-ccf2002654f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-06 06:53:19", "repo_name": "jenshadlich/rgw-adm4j", "sub_path": "/src/main/java/de/jeha/rgwadm4j/utils/AuthorizationUtils.java", "file_name": "AuthorizationUtils.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/jenshadlich/rgw-adm4j | 235 | FILENAME: AuthorizationUtils.java | 0.261331 | package de.jeha.rgwadm4j.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.security.SignatureException;
import java.util.Locale;
/**
* @author jenshadlich@googlemail.com
*/
public class AuthorizationUtils {
private static final Logger LOG = LoggerFactory.getLogger(AuthorizationUtils.... |
97931537-f0a1-4bb5-ba46-d38ca3139758 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-03T04:42:00", "repo_name": "Abdur-rahmaanJ/InternalO", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1232, "line_count": 68, "lang": "en", "doc_type": "text", "... | https://github.com/Abdur-rahmaanJ/InternalO | 347 | FILENAME: README.md | 0.23793 | # 📧 InternalO
Open Php framework for Internal office use. It helps you track a small team with roster upload and in-mail system.
# How?
Non-admins log in and sign up via their phone number. Admins decide whether or not to approve.
# Setup
Environment
Xamp, see [here](https://www.apachefriends.org/download.html)
S... |
cdf41a68-e107-4349-9fc3-1a984add8497 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-10 07:12:06", "repo_name": "LichaoStone/integrate_quartzJob", "sub_path": "/src/com/allook/utils/SpringContext.java", "file_name": "SpringContext.java", "file_ext": "java", "file_size_in_byte": 1125, "line_cou... | https://github.com/LichaoStone/integrate_quartzJob | 259 | FILENAME: SpringContext.java | 0.253861 | package com.allook.utils;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.web.context.WebApplicationContext;
/**
* Spring配置文件读取类
*
* @author tangming
* @date 2013-10-31
*/
public class SpringContext {
... |
fca05e89-d77e-4c20-8935-6a57f41b62e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-10 02:32:30", "repo_name": "Summerdise/friends_application", "sub_path": "/app/src/main/java/com/example/friendsapplication/base/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_... | https://github.com/Summerdise/friends_application | 162 | FILENAME: BaseActivity.java | 0.243642 | package com.example.friendsapplication.base;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
public abstract class BaseActivity<P extends BasePresenter > extends AppCompatActivity implements View.OnClickListener {
private ... |
6b04fe7d-0471-4947-9e25-37f04fe65634 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-09 17:44:47", "repo_name": "mmmmmrw/Encryption-Decryption", "sub_path": "/factoryApp.java", "file_name": "factoryApp.java", "file_ext": "java", "file_size_in_byte": 1110, "line_count": 47, "lang": "en", "doc_t... | https://github.com/mmmmmrw/Encryption-Decryption | 329 | FILENAME: factoryApp.java | 0.286169 | package app;
public class factoryApp {
public factoryApp(String[] args) {
String mode = "enc";
String text = null;
String in = null;
String out = null;
String alg = "shift";
int key = 0;
for (int x = 0; x < args.length; x++){
if (args[x].equals("-mode")){
mode = args[x+1];
}else if(args[x].equ... |
41171695-4927-44e3-9854-d72923a307bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-23 05:50:53", "repo_name": "iuvei/open-his", "sub_path": "/his-system/system-web/src/main/java/com/example/config/shiro/ShiroLoginFilter.java", "file_name": "ShiroLoginFilter.java", "file_ext": "java", "file_s... | https://github.com/iuvei/open-his | 260 | FILENAME: ShiroLoginFilter.java | 0.208179 | package com.example.config.shiro;
import com.alibaba.fastjson.JSON;
import com.example.constants.HttpStatus;
import com.example.vo.AjaxResult;
import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpSer... |
99445929-e848-4acf-9e21-a74931594d66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-11 06:31:56", "repo_name": "kyocoolcool/java-tutorial", "sub_path": "/java-concurrent/src/Concurrent26/MyCachePool.java", "file_name": "MyCachePool.java", "file_ext": "java", "file_size_in_byte": 1050, "line_c... | https://github.com/kyocoolcool/java-tutorial | 228 | FILENAME: MyCachePool.java | 0.277473 | package Concurrent26;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
/**
* @ClassName MyCachePool
* @Description CachePoo:當線程在忙,會起新線程,直到伺服器能負荷數量,默認線程閒置60秒會自動銷毀
* @Author Chris Chen
* @Date 2019-08-09 21:34
* @Version 1.0
**/
public clas... |
28691fa8-c0b8-4f52-8660-ad7ae7546f27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-17 10:08:33", "repo_name": "cjhnim/daily-kata-android", "sub_path": "/loginkata3/app/src/main/java/com/frank/loginkata3/MainViewModel.java", "file_name": "MainViewModel.java", "file_ext": "java", "file_size_in... | https://github.com/cjhnim/daily-kata-android | 227 | FILENAME: MainViewModel.java | 0.261331 | package com.frank.loginkata3;
import androidx.databinding.ObservableField;
public class MainViewModel
{
private final MyAuthenticator authenticator;
public ObservableField<String> username = new ObservableField<>("");
public ObservableField<String> password = new ObservableField<>("");
public Observab... |
52e84ad4-ebb5-4052-9a57-de682d0c24ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-07 06:37:43", "repo_name": "workforwy/letsgo", "sub_path": "/app/src/main/java/com/wy/letsgo/view/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte": 1079, "line_... | https://github.com/workforwy/letsgo | 182 | FILENAME: SplashActivity.java | 0.225417 | package com.wy.letsgo.view;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import com.wy.letsgo.R;
import com.wy.letsgo.util.ExceptionUtil;
import org.androidannotations.annotations.AfterViews;
public class SplashActivity extends Activity... |
60077369-3f15-4e83-8006-c3e9b520b4b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-13T04:49:53", "repo_name": "mjtb/adhoc-nodejs-mp4-tools", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 980, "line_count": 35, "lang": "en", "doc_type": "text",... | https://github.com/mjtb/adhoc-nodejs-mp4-tools | 238 | FILENAME: README.md | 0.198064 | # Michael Trenholm-Boyle’s Ad Hoc Node.js MP4 Tools
<small>Coyright © 2016 Michael Trenholm-Boyle.<br/>
The source code in this repository is licensed under a permissive MIT License.<br/>
Please see the LICENSE file for details.</small>
This is a collection of ad hoc Node.js scripts I wrote to process MP4 files.
It ... |
73bf43a2-3db7-41fc-a561-46946fa8f78e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-27 03:47:00", "repo_name": "1025058301/ToutiaoProject", "sub_path": "/src/main/java/pers/lcy/toutiao/async/handler/RegisterHandler.java", "file_name": "RegisterHandler.java", "file_ext": "java", "file_size_in_... | https://github.com/1025058301/ToutiaoProject | 239 | FILENAME: RegisterHandler.java | 0.261331 | package pers.lcy.toutiao.async.handler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pers.lcy.toutiao.async.EventModel;
import pers.lcy.toutiao.async.EventType;
import pers.lcy.toutiao.ser... |
990c5d00-358b-429c-9f57-a82220915b62 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-12 06:12:21", "repo_name": "PeterGee/UsualTestProject", "sub_path": "/app/src/main/java/net/gepergee/usualtestproject/customview/normaluse/CustomViewFour.java", "file_name": "CustomViewFour.java", "file_ext": ... | https://github.com/PeterGee/UsualTestProject | 268 | FILENAME: CustomViewFour.java | 0.258326 | package net.gepergee.usualtestproject.customview.normaluse;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;
/**
* @author petergee
* @date 2018/4/17
*/
public clas... |
00a547b7-de1e-462f-92f5-cc9d7a8e7bb5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-18 10:07:24", "repo_name": "letrung1998vn/prj321", "sub_path": "/MVC1_SE1269/src/java/sample/javabean/LoginBean.java", "file_name": "LoginBean.java", "file_ext": "java", "file_size_in_byte": 1086, "line_count"... | https://github.com/letrung1998vn/prj321 | 206 | FILENAME: LoginBean.java | 0.264358 | /*
* 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 sample.javabean;
import java.io.Serializable;
import java.sql.SQLException;
import registration.RegistrationDAO;
/**
*
* @a... |
53b08fe7-5c9e-4a22-a025-9b71edfce1bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-20T18:32:52", "repo_name": "stereobooster/sqip.macro", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1101, "line_count": 44, "lang": "en", "doc_type": "text", "... | https://github.com/stereobooster/sqip.macro | 334 | FILENAME: README.md | 0.29584 | # sqip.macro
[](https://travis-ci.org/stereobooster/sqip.macro) [](https://github.com/kentcdodds/babel-plugin-macros)
> Webpack [`sqip-loa... |
b7dc5907-cdc6-4262-ba7c-cdca84a32834 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-21 13:22:08", "repo_name": "anubama849/Foodator", "sub_path": "/app/src/main/java/com/anu/food/OrderListActivity.java", "file_name": "OrderListActivity.java", "file_ext": "java", "file_size_in_byte": 1129, "li... | https://github.com/anubama849/Foodator | 192 | FILENAME: OrderListActivity.java | 0.268941 | package com.anu.food;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;
import androidx.recyclerview.widget.LinearLayoutManager;
import com.anu.food.adapter.OrderAdapter;
import com.anu.food.databinding.ActivityOrderListBinding;
import com.anu.food.... |
d18d84e5-f85c-485c-b67f-3ad0e66dd7bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-18 04:15:33", "repo_name": "ZGAOF/spring-cloud-2020", "sub_path": "/seata-order-service-2001/src/main/java/cn/zzf/spring/cloud/seata/order/service/OrderService.java", "file_name": "OrderService.java", "file_ex... | https://github.com/ZGAOF/spring-cloud-2020 | 284 | FILENAME: OrderService.java | 0.282988 | package cn.zzf.spring.cloud.seata.order.service;
import cn.zzf.spring.cloud.entity.UserOrder;
import cn.zzf.spring.cloud.seata.order.manager.AccountManager;
import cn.zzf.spring.cloud.seata.order.manager.StorageManager;
import cn.zzf.spring.cloud.seata.order.mapper.OrderMapper;
import io.seata.spring.annotation.Global... |
94951241-45cb-4dee-9349-cddfda1aa593 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-09 21:11:25", "repo_name": "lyazzat3110/TestNG_VerizonProject_2020", "sub_path": "/src/main/java/com/qa/verizon/page/SmartPhonesPage.java", "file_name": "SmartPhonesPage.java", "file_ext": "java", "file_size_i... | https://github.com/lyazzat3110/TestNG_VerizonProject_2020 | 220 | FILENAME: SmartPhonesPage.java | 0.285372 | package com.qa.verizon.page;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import com.qa.verizon.base.BasePage;
import com.qa.verizon.util.ElementUtil;
import com.qa.verizon.util.JavascriptUtil;
public class ... |
f15ece50-7307-4ddf-83b9-70cb47955798 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-05 08:57:20", "repo_name": "fkdldgi/JHTA", "sub_path": "/task0427/src/task/controller/WriteController.java", "file_name": "WriteController.java", "file_ext": "java", "file_size_in_byte": 1072, "line_count": 35... | https://github.com/fkdldgi/JHTA | 207 | FILENAME: WriteController.java | 0.262842 | package task.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import task.dao.BoardDao;
import task.vo.BoardVo;... |
3576a8f0-016c-41f9-bcce-cd46e67a46ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-19 07:44:20", "repo_name": "MrWayway/JsonExercise-project", "sub_path": "/JsonReader/app/src/main/java/com/example/jsonreader/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_siz... | https://github.com/MrWayway/JsonExercise-project | 217 | FILENAME: MainActivity.java | 0.293404 | package com.example.jsonreader;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
TextView a;
private EditTex... |
55ce58db-e0c0-4109-8955-3aff6dc22c4a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-23 15:37:32", "repo_name": "willingtonortiz/MiTutorBES", "sub_path": "/src/main/java/com/mitutor/servicesImpls/PersonServiceImpl.java", "file_name": "PersonServiceImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/willingtonortiz/MiTutorBES | 183 | FILENAME: PersonServiceImpl.java | 0.264358 | package com.mitutor.servicesImpls;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.mitutor.entities.Person;
import com.mitutor.repositories.IPersonRepository;
import com.mitutor.services.IPerson... |
a3f2858e-d2e3-4017-ae46-eb0a0a6fd90d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-13 17:27:49", "repo_name": "thepetas/CarRegisterSpring", "sub_path": "/src/main/java/cz/thepetas/carregister/web/rest/PersonRestController.java", "file_name": "PersonRestController.java", "file_ext": "java", "... | https://github.com/thepetas/CarRegisterSpring | 206 | FILENAME: PersonRestController.java | 0.247987 | package cz.thepetas.carregister.web.rest;
import com.fasterxml.jackson.annotation.JsonView;
import cz.thepetas.carregister.data.json.View;
import cz.thepetas.carregister.data.model.Person;
import cz.thepetas.carregister.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.sp... |
5a956fca-3caa-49ea-9d4e-e67850abc836 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-08 01:44:01", "repo_name": "alfayedoficial/Fm_Market.Retrofit.JSON_Data", "sub_path": "/app/src/main/java/com/alialfayed/marketapp/view/activities/SlidesActivity.java", "file_name": "SlidesActivity.java", "fil... | https://github.com/alfayedoficial/Fm_Market.Retrofit.JSON_Data | 223 | FILENAME: SlidesActivity.java | 0.261331 | package com.alialfayed.marketapp.view.activities;
import android.os.Bundle;
import com.alialfayed.marketapp.R;
import com.alialfayed.marketapp.viewmodel.SlidesViewModel;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.lifecycle.ViewModel;
import androidx.lifecycle... |
50c8dece-bf50-4ece-ac14-8887b3cc17ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-19 21:12:26", "repo_name": "bblazeka/distributed-big-data-processing", "sub_path": "/lab2/MRDataProcessing/src/main/java/rovkp/lab2/mrdataprocessing/ProcessingMapper.java", "file_name": "ProcessingMapper.java"... | https://github.com/bblazeka/distributed-big-data-processing | 212 | FILENAME: ProcessingMapper.java | 0.258326 | /*
* 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 rovkp.lab2.mrdataprocessing;
import org.apache.hadoop.io.*;
import org.apache.hadoop.mapreduce.Mapper;
/**
*
* @author brun... |
02db2e38-e0b8-4b9f-8dec-218dd085e526 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-10 08:10:13", "repo_name": "sunning9001/AllInOneSample", "sub_path": "/SpringEnableSample/src/main/java/conditional/MyCondiction.java", "file_name": "MyCondiction.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/sunning9001/AllInOneSample | 180 | FILENAME: MyCondiction.java | 0.253861 | package conditional;
import java.util.Map;
import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.context.annotation.Conditional;
import org.springframework.core.type.AnnotatedTypeMetadata;
import org.springframework.core.typ... |
54f0fe61-d28b-480f-b475-f8b8b9f73e84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-09 01:29:56", "repo_name": "JackyLin18/spring-boot-03-web-restfulcrud", "sub_path": "/src/main/java/com/smart/controller/HelloController.java", "file_name": "HelloController.java", "file_ext": "java", "file_si... | https://github.com/JackyLin18/spring-boot-03-web-restfulcrud | 240 | FILENAME: HelloController.java | 0.259826 | package com.smart.controller;
import com.smart.dao.UserDao;
import com.smart.exception.UserNotExistException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bi... |
5a6c4825-e526-48f1-b92c-f9fb5d960cb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-30 12:10:31", "repo_name": "oPhuongXuongQuang/LiveSportTVCrawler", "sub_path": "/src/main/java/com/quangphuong/crawler/dto/Team.java", "file_name": "Team.java", "file_ext": "java", "file_size_in_byte": 1104, "... | https://github.com/oPhuongXuongQuang/LiveSportTVCrawler | 244 | FILENAME: Team.java | 0.2227 | /*
* 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.quangphuong.crawler.dto;
/**
*
* @author quangphuong
*/
public class Team {
private String name;
private String... |
a8da9fbd-7d4c-4ef9-9251-98ba229bc9e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-03 03:25:30", "repo_name": "sandinosanchez/E-commerce", "sub_path": "/api/ecomerce.api/src/main/java/com/javabootcamp/ecomerce/api/Model/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_... | https://github.com/sandinosanchez/E-commerce | 240 | FILENAME: Role.java | 0.272025 | package com.javabootcamp.ecomerce.api.Model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Table(name = "role")
public class Role {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(na... |
4ac2fbfa-608e-4d4d-8b39-3eb3f729c855 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-06 18:24:26", "repo_name": "SquidDev-CC/plethora", "sub_path": "/src/main/java/org/squiddev/plethora/core/capabilities/DefaultModuleHandler.java", "file_name": "DefaultModuleHandler.java", "file_ext": "java", ... | https://github.com/SquidDev-CC/plethora | 275 | FILENAME: DefaultModuleHandler.java | 0.291787 | package org.squiddev.plethora.core.capabilities;
import net.minecraft.client.renderer.block.model.IBakedModel;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.apache.commons.lang3.tuple.Pair;
import org.squiddev.pl... |
26971ae1-dca7-4948-a894-e0e115fdd619 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-02-12T03:42:00", "repo_name": "somasudha/sudha-selenium", "sub_path": "/java-projects/javamain/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1114, "line_count": 35, "lang": "en"... | https://github.com/somasudha/sudha-selenium | 276 | FILENAME: README.md | 0.281406 | # JavaMain
This project has a simple Java class, that would open a Chrome browser, open a page and prints its page title.
## How to Run
- Clone git repo
```sh
cd ~/git
git clone https://github.com/somasudha/sudha-selenium.git
```
- Import Maven Project ~/git/sudha-selenium/java-projects/javamain to your IDE (Eclipse ... |
bd8b73cc-4319-4a2f-8e13-7c3f4ff3c02d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-23 14:55:45", "repo_name": "Moearly/Weekend", "sub_path": "/app/src/main/java/com/martn/weekend/view/ToastCommom.java", "file_name": "ToastCommom.java", "file_ext": "java", "file_size_in_byte": 1239, "line_cou... | https://github.com/Moearly/Weekend | 295 | FILENAME: ToastCommom.java | 0.293404 | package com.martn.weekend.view;
import android.annotation.SuppressLint;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;
import com.martn.weekend.R;
/**
* Title: Weekend
* Packag... |
05459652-5e0c-44e7-83da-e211d99309e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-07 12:09:14", "repo_name": "danielkec/GoToEJBPlugin", "sub_path": "/src/main/java/cz/kec/nb/ejbutils/GoToEJB.java", "file_name": "GoToEJB.java", "file_ext": "java", "file_size_in_byte": 1083, "line_count": 35,... | https://github.com/danielkec/GoToEJBPlugin | 271 | FILENAME: GoToEJB.java | 0.272025 |
package cz.kec.nb.ejbutils;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.openide.awt.ActionID;
import org.openide.awt.ActionReference;
import org.openide.awt.ActionReferences;
import org.openide.awt.ActionRegistration;
@ActionID(
category = "J2EE",
id = "cz.kec... |
f62309b3-ad77-4bd0-837a-257586fdbb9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-21 20:45:05", "repo_name": "Sweng29/All-About-Spring", "sub_path": "/src/main/java/com/mant/is/annotationsconfig/TennisCoach.java", "file_name": "TennisCoach.java", "file_ext": "java", "file_size_in_byte": 113... | https://github.com/Sweng29/All-About-Spring | 246 | FILENAME: TennisCoach.java | 0.285372 | package com.mant.is.annotationsconfig;
import com.mant.is.dao.Coach;
import com.mant.is.dao.FortuneService;
import org.springframework.stereotype.Component;
/*
* To configure beans with annotations in Spring
*
* Whenever the Spring project is run the spring scans for different classes for bean registration,
* A b... |
4454f0b7-7cf3-4892-97c7-1924b6769e47 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 08:04:05", "repo_name": "Tuwakan/RedProject3", "sub_path": "/src/main/java/WriterMessagesServlet.java", "file_name": "WriterMessagesServlet.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count"... | https://github.com/Tuwakan/RedProject3 | 190 | FILENAME: WriterMessagesServlet.java | 0.280616 | import javax.servlet.ServletException;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.stream.Collectors;
public class WriterMe... |
adcfdfff-fdba-40a9-bd25-23a636801069 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-02 14:31:14", "repo_name": "tekeny/geno-phen-browser", "sub_path": "/genophenbrowser-client/src/main/java/com/gmi/nordborglab/browser/client/ui/cells/BooleanIconCell.java", "file_name": "BooleanIconCell.java",... | https://github.com/tekeny/geno-phen-browser | 252 | FILENAME: BooleanIconCell.java | 0.261331 | package com.gmi.nordborglab.browser.client.ui.cells;
import com.google.gwt.cell.client.AbstractCell;
import com.google.gwt.core.client.GWT;
import com.google.gwt.safehtml.client.SafeHtmlTemplates;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
/**
* Created wit... |
dd3f46b2-7489-4e01-9586-1bbefd00fdcc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-02 12:35:15", "repo_name": "MagnusLeona/MagnusServer", "sub_path": "/src/com/magnus/jdbc/demo/BatchDemo.java", "file_name": "BatchDemo.java", "file_ext": "java", "file_size_in_byte": 1181, "line_count": 34, "l... | https://github.com/MagnusLeona/MagnusServer | 223 | FILENAME: BatchDemo.java | 0.276691 | package com.magnus.jdbc.demo;
import com.magnus.jdbc.utils.Connector;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class BatchDemo {
public static void main(String[] args) throws SQLException {
Connection connection = Connector.getConnectionFromDrive... |
eee50f10-80e3-4e2c-8084-74ab228ee21b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-10 05:00:08", "repo_name": "swaroopaDeshpande/CodeBase-I", "sub_path": "/src/test/java/com/qa/selenium/quickrecap/ScreenShotPracto.java", "file_name": "ScreenShotPracto.java", "file_ext": "java", "file_size_in... | https://github.com/swaroopaDeshpande/CodeBase-I | 260 | FILENAME: ScreenShotPracto.java | 0.267408 | package com.qa.selenium.quickrecap;
import java.awt.AWTException;
import java.awt.Robot;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.Assert;
import ... |
171da8f3-b907-4e57-b1b0-0691bf4b162c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-09 19:31:23", "repo_name": "MuhammadDanyial/Matrices_eCommerceApp", "sub_path": "/app/src/main/java/com/MuhammadDanyialKhan/matrices_ecommerceapp/LoginOrSignup.java", "file_name": "LoginOrSignup.java", "file_e... | https://github.com/MuhammadDanyial/Matrices_eCommerceApp | 229 | FILENAME: LoginOrSignup.java | 0.256832 | package com.MuhammadDanyialKhan.matrices_ecommerceapp;
import android.support.design.widget.TabLayout;
import android.support.v7.app.AppCompatActivity;
import android.support.v4.view.ViewPager;
import android.os.Bundle;
import com.MuhammadDanyialKhan.matrices_ecommerceapp.Tabs.LoginTab;
import com.MuhammadDanyialKhan... |
3aa17c5c-ade7-4a05-a339-21511b998a25 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-07 09:21:49", "repo_name": "heimingyang/Citypass", "sub_path": "/app/src/main/java/com/example/citypass/cotroller/adapter/naonao/detail/NaoNao_ViewPager.java", "file_name": "NaoNao_ViewPager.java", "file_ext":... | https://github.com/heimingyang/Citypass | 286 | FILENAME: NaoNao_ViewPager.java | 0.289372 | package com.example.citypass.cotroller.adapter.naonao.detail;
import android.support.v4.view.PagerAdapter;
import android.view.View;
import android.view.ViewGroup;
import java.util.List;
/**
* 项目名称: 城市通
* 类描述:
* 创建人: Administrator
* 创建时间: 2017/7/1 10:11
* 修改人: 张超
* 修改内容:
* 修改时间:
*/
public class NaoNao_View... |
10ae9357-2095-4dec-b89a-9b36aa96bcb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-03 07:14:53", "repo_name": "Y00z/android_security", "sub_path": "/safe/src/main/java/org/yooz/dao/AntivirusDao.java", "file_name": "AntivirusDao.java", "file_ext": "java", "file_size_in_byte": 1304, "line_coun... | https://github.com/Y00z/android_security | 280 | FILENAME: AntivirusDao.java | 0.282196 | package org.yooz.dao;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
/**
* Created by Yooz on 2016/2/11.
*/
public class AntivirusDao {
//查询md5是否在病毒库里面
public static String checkFileVirus(String md6) {
String desc = null;
... |
57fafd9c-9d02-49b7-86b6-3dc7dd35ca0f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-09 13:20:01", "repo_name": "Huminecraft/HumineShop", "sub_path": "/src/humine/utils/cosmetiques/CommandParticle.java", "file_name": "CommandParticle.java", "file_ext": "java", "file_size_in_byte": 1030, "line_... | https://github.com/Huminecraft/HumineShop | 217 | FILENAME: CommandParticle.java | 0.272025 | package humine.utils.cosmetiques;
import org.bukkit.Particle;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import humine.main.MainShop;
import humine.utils.Prestige;
public class CommandParticle extends AbstractParticleCosmetique{
private static final long serialVersionUID = 1L;
private... |
3d2aaaa0-157b-47cb-858b-31c434a99c5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-07 11:54:46", "repo_name": "EBRD-KyrgyzRepublic-ODSMandPAPP/Kyrgyz-Republic-Open-Data-OCDS-Transformation-Analytics", "sub_path": "/Open Data OCDS Red flags monitoring app/Back end source code_Red flags/site/s... | https://github.com/EBRD-KyrgyzRepublic-ODSMandPAPP/Kyrgyz-Republic-Open-Data-OCDS-Transformation-Analytics | 197 | FILENAME: BucketController.java | 0.245085 | package com.datapath.kg.site.controller;
import com.datapath.kg.site.request.BucketFilterRequest;
import com.datapath.kg.site.request.BucketRequest;
import com.datapath.kg.site.response.BucketResponse;
import com.datapath.kg.site.services.BucketWebService;
import org.springframework.web.bind.annotation.*;
import java... |
3e2e8a1e-ea07-4a7b-abba-c171850c959f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-11T14:41:13", "repo_name": "PartapSBimrah/Social-Networking-Site", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 995, "line_count": 33, "lang": "en", "doc_type"... | https://github.com/PartapSBimrah/Social-Networking-Site | 241 | FILENAME: README.md | 0.200558 | # Social-Networking-Site
Just a social app. This app is mostly completed but some bugs would be there.
**google-services.json file has been deleted for security reasons. Place your google-services.json in /app folder**
## Available features
* Registration
- Registration and logging in using firebase **(stable)**... |
3f6b98af-a8df-4b65-a18a-a1e78a4d43c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-18 17:25:47", "repo_name": "viktor-brui/dager_rx_database_mvp_cakes", "sub_path": "/app/src/main/java/by/viktor/dager_rx_database_mvp/application/CakeApplication.java", "file_name": "CakeApplication.java", "fi... | https://github.com/viktor-brui/dager_rx_database_mvp_cakes | 182 | FILENAME: CakeApplication.java | 0.249447 | package by.viktor.dager_rx_database_mvp.application;
import android.app.Application;
import by.viktor.dager_rx_database_mvp.di.components.ApplicationComponent;
import by.viktor.dager_rx_database_mvp.di.components.DaggerApplicationComponent;
import by.viktor.dager_rx_database_mvp.di.module.ApplicationModule;
public c... |
44fa2216-dace-4d53-8851-7a6a349db2ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-24T21:41:48", "repo_name": "nas5w/react-bootstrap-album-template", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1000, "line_count": 28, "lang": "en", "doc_type... | https://github.com/nas5w/react-bootstrap-album-template | 226 | FILENAME: README.md | 0.180107 | # :rocket: React Bootstrap Album Template
This is a work in progress to convert the [Bootstrap 4 Album Template](https://getbootstrap.com/docs/4.0/examples/album) to React using create-react-app and the [reactstrap](https://reactstrap.github.io) library! I welcome contributions, please see below for details.
## :gear... |
912b5e5a-dcc5-4ec9-91f0-66947652f65d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-30 08:57:18", "repo_name": "yrong11/java-oo-practice", "sub_path": "/src/com/person/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 1010, "line_count": 52, "lang": "en", "doc... | https://github.com/yrong11/java-oo-practice | 212 | FILENAME: Person.java | 0.228156 | package com.person;
import java.util.Objects;
public class Person {
int userID;
String name;
String password;
public Person(int userID, String name, String password){
this.userID = userID;
this.name = name;
this.password = password;
}
public int getUserID() {
... |
214c4b96-0afe-4c74-93ed-c4b847ee0dd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-27 10:13:28", "repo_name": "udhavmohata/Spring-Boot-Projects", "sub_path": "/Recommendation/src/main/java/com/uv/trial/recommendation/Controller/RegistrationController.java", "file_name": "RegistrationControll... | https://github.com/udhavmohata/Spring-Boot-Projects | 199 | FILENAME: RegistrationController.java | 0.26588 | package com.uv.trial.recommendation.Controller;
import com.uv.trial.recommendation.Model.UserDTO;
import com.uv.trial.recommendation.Repository.UserRepository;
import com.uv.trial.recommendation.Util.InputCheckService;
import com.uv.trial.recommendation.Services.RegistrationService;
import org.springframework.beans.f... |
707af9b0-b8d0-4fe4-bab4-ad8a4f8db564 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-19T20:13:32", "repo_name": "dhruvsingh/todo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1057, "line_count": 35, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/dhruvsingh/todo | 272 | FILENAME: README.md | 0.252384 | # todo
Todo app - REST
# environment
- python3
- django
- django-rest-framework
- django-filter
# how to run
- ```git clone git@github.com:dhruvsingh/todo.git```
- make a virtual environment (ensure it is python3)
- activate virtual environment
- ```$ cd todo```
- ```$ pip install -r requirements.txt```
- ```... |
11b96b33-0b55-444b-8906-aa5eedb62fd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-30 02:17:12", "repo_name": "avinriyan/KendaliAtap", "sub_path": "/app/src/main/java/com/larapin/kendaliatap/entity/TeamItems.java", "file_name": "TeamItems.java", "file_ext": "java", "file_size_in_byte": 1177,... | https://github.com/avinriyan/KendaliAtap | 273 | FILENAME: TeamItems.java | 0.23231 | package com.larapin.kendaliatap.entity;
import org.json.JSONObject;
/**
* Created by asus on 24/12/2017.
*/
public class TeamItems {
private int id;
private String nim;
private String nama;
private String foto;
public TeamItems(JSONObject object){
try {
int id = object.getI... |
96390bb2-0946-4d23-a5e4-274a096dd38e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-22 15:00:51", "repo_name": "peter-str/pledgeGame", "sub_path": "/core/src/com/mygdx/model/difficulties/DifficultyHigh.java", "file_name": "DifficultyHigh.java", "file_ext": "java", "file_size_in_byte": 1013, "... | https://github.com/peter-str/pledgeGame | 230 | FILENAME: DifficultyHigh.java | 0.274351 | package com.mygdx.model.difficulties;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.mygdx.model.maze_algorithm.MazeCreatorClass;
import static com.mygdx.game.ResourcePaths.HIGH;
public class DifficultyHigh implements Difficulty {
p... |
a93029a0-e8fa-42c9-98a8-93a2bdb80fb7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-28 23:14:58", "repo_name": "abernazzani/PFA.bancos", "sub_path": "/PFA.Bancos.API/src/main/java/io/progii/springboot/PFABancosApiApp.java", "file_name": "PFABancosApiApp.java", "file_ext": "java", "file_size_i... | https://github.com/abernazzani/PFA.bancos | 211 | FILENAME: PFABancosApiApp.java | 0.240775 | package io.progii.springboot;
import java.util.Collections;
import org.apache.logging.log4j.core.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.... |
cfb1f18c-c134-42bf-b087-c9213cf29d66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-22 17:04:51", "repo_name": "LyraPan/FinraFileUpload", "sub_path": "/src/main/java/com/lyra/finrafileupload/service/FileUploadServiceImp.java", "file_name": "FileUploadServiceImp.java", "file_ext": "java", "fil... | https://github.com/LyraPan/FinraFileUpload | 221 | FILENAME: FileUploadServiceImp.java | 0.26588 | package com.lyra.finrafileupload.service;
import com.lyra.finrafileupload.dao.FileUploadDao;
import com.lyra.finrafileupload.entity.FileMetaData;
import com.lyra.finrafileupload.utility.FileMetaDataUtility;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
im... |
eef3e51f-b523-4e3a-b649-c5d8ba5e99a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-01 07:24:21", "repo_name": "jiazhong520/rich-mail-api", "sub_path": "/src/main/java/com/rich/mail/api/response/ProductInfo.java", "file_name": "ProductInfo.java", "file_ext": "java", "file_size_in_byte": 1223,... | https://github.com/jiazhong520/rich-mail-api | 218 | FILENAME: ProductInfo.java | 0.249447 | package com.rich.mail.api.response;
import com.rich.mail.api.domain.ProductEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
@Data
@ApiModel("商品")
public class ProductInfo implements Serializable {
@ApiModelProperty("商... |
4347db1c-8d98-4011-9fe3-8f1596ee5937 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-28 15:33:46", "repo_name": "Ross65536/invoice-capture-client", "sub_path": "/src/main/java/com/invisiblecollector/connection/response/validators/GeneralStatusCodeValidator.java", "file_name": "GeneralStatusCod... | https://github.com/Ross65536/invoice-capture-client | 202 | FILENAME: GeneralStatusCodeValidator.java | 0.272799 | package com.invisiblecollector.connection.response.validators;
import com.invisiblecollector.connection.response.IServerResponse;
import com.invisiblecollector.exceptions.IcException;
/**
* Immutable class.
* @author ros
*
*/
public class GeneralStatusCodeValidator extends JsonValidatorBase implements IValidator ... |
612d4144-798e-4874-b3cc-dbd032709a1d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-29 20:01:11", "repo_name": "whycody/LinkPlayer", "sub_path": "/app/src/main/java/com/linkplayer/linkplayer/model/SongList.java", "file_name": "SongList.java", "file_ext": "java", "file_size_in_byte": 1151, "li... | https://github.com/whycody/LinkPlayer | 259 | FILENAME: SongList.java | 0.268941 | package com.linkplayer.linkplayer.model;
import android.support.annotation.NonNull;
import java.util.ArrayList;
public class SongList implements Comparable<SongList>{
private ArrayList<Song> songList = new ArrayList<>();
private String title;
private int key;
public SongList(){
}
public S... |
cbcf7bec-2ab7-4a75-9275-9f4be4a551ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-09 06:19:03", "repo_name": "JoseAlejandroRR/Sejo", "sub_path": "/src/com/skillcorp/sejoframework/web/Request.java", "file_name": "Request.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 41,... | https://github.com/JoseAlejandroRR/Sejo | 200 | FILENAME: Request.java | 0.250913 | package com.skillcorp.sejoframework.web;
import com.skillcorp.sejoframework.helpers.Builder;
import com.sun.net.httpserver.Headers;
import com.sun.net.httpserver.HttpExchange;
import java.io.InputStream;
import java.util.HashMap;
public class Request {
public String method;
public Headers headers;
pub... |
41e822b7-732c-4dd8-b514-cec709d0d0f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-17 08:41:20", "repo_name": "fjhjava/smartFramework-web", "sub_path": "/src/main/java/com/java1234/util/ReflectionUtil.java", "file_name": "ReflectionUtil.java", "file_ext": "java", "file_size_in_byte": 1108, "... | https://github.com/fjhjava/smartFramework-web | 270 | FILENAME: ReflectionUtil.java | 0.295027 | package com.java1234.util;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
/**
* 反射工具类
*
* @author phantomfjh
*
*/
public final class ReflectionUtil {
/**
* 创建实例
*
* @param cls
* @return
*/
public static Object newInstance(Class<?> cls) {
Object instance;
tr... |
56fec4cd-7ed3-4292-862b-0a4de69c83f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-05 15:16:43", "repo_name": "viswanathjandhyala/TextMappingTool", "sub_path": "/GMTextMapping/src/com/gm/tmt/servlet/MappingServlet.java", "file_name": "MappingServlet.java", "file_ext": "java", "file_size_in_b... | https://github.com/viswanathjandhyala/TextMappingTool | 201 | FILENAME: MappingServlet.java | 0.267408 | package com.gm.tmt.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@Web... |
74a5b8b4-4b10-4da5-8d91-bf6092c186d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-01 19:59:47", "repo_name": "WAG13/Lexer", "sub_path": "/src/main/java/lexer/recognizers/Recognizer.java", "file_name": "Recognizer.java", "file_ext": "java", "file_size_in_byte": 1018, "line_count": 42, "lang"... | https://github.com/WAG13/Lexer | 256 | FILENAME: Recognizer.java | 0.290176 | package lexer.recognizers;
import lexer.states.State;
import lexer.states.StateType;
import lexer.tokens.Token;
import java.util.ArrayList;
public class Recognizer {
public final State curState;
public final ArrayList<Token> tokenList;
public Recognizer(State curState, ArrayList<Token> tokenList){
... |
4b598b91-62a7-4e1e-8b4f-f9561234ec66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-02 13:13:10", "repo_name": "mrtngv/University", "sub_path": "/Junk/db-api/src/main/java/com/example/project_db/student/StudentRequest.java", "file_name": "StudentRequest.java", "file_ext": "java", "file_size_i... | https://github.com/mrtngv/University | 242 | FILENAME: StudentRequest.java | 0.220007 | package com.example.project_db.student;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
public class StudentRequest {
@NotBlank
@Size(min = 2,max = 50)
private String firstName;
@NotBlank
@Size(min = 2,max = 50)
private String middleName;
@NotBlank... |
6ddba629-89bb-4d56-abd3-fd5409d74ce5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-06-25T00:20:13", "repo_name": "mivp/voicecontrol", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 983, "line_count": 26, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/mivp/voicecontrol | 231 | FILENAME: README.md | 0.261331 | # Test CAVE2 voice control
Main client voice recognition source is in public folder.
The javascript program uses the HTML5 Speech Recognition API to recognize voice. There are 2 main testing files:
- index.html/main.js: uses Artyom.js (https://sdkcarlos.github.io/sites/artyom.html) which is is an useful wrapper of t... |
5d0072ac-17e3-43d9-953e-fbcb51fef507 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-17 00:52:17", "repo_name": "lianshufeng/FastDev", "sub_path": "/components/Component-ElasticSearch/src/main/java/com/fast/dev/es/factory/ESFactory.java", "file_name": "ESFactory.java", "file_ext": "java", "fil... | https://github.com/lianshufeng/FastDev | 296 | FILENAME: ESFactory.java | 0.264358 | package com.fast.dev.es.factory;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.List;
import org.elasticsearch.client.Client;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.transport.TransportAddress;
import org.elasticsearch.transport.client.PreBui... |
18e75c93-b442-4839-a2e5-118a10ddcb5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-16 14:50:02", "repo_name": "liuyueyi/spring-boot-demo", "sub_path": "/spring-boot/005-config-selector/src/main/java/com/git/hui/boot/config/selector/ordercase/config/ConfigSelector.java", "file_name": "ConfigS... | https://github.com/liuyueyi/spring-boot-demo | 217 | FILENAME: ConfigSelector.java | 0.262842 | package com.git.hui.boot.config.selector.ordercase.config;
import com.git.hui.boot.config.selector.ordercase.ano.DemoSelector;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.annotation.AnnotationAttributes;
import org.springframework.core.type.AnnotationMetadata;
/**
* ... |
f09fa19b-6fb6-4c97-a19d-0c707e3b01db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-20T22:12:53", "repo_name": "RezaRahemtola/BinanceLockedStakingCheck", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 976, "line_count": 18, "lang": "en", "doc_ty... | https://github.com/RezaRahemtola/BinanceLockedStakingCheck | 226 | FILENAME: README.md | 0.233706 | # BinanceLockedStakingCheck
A simple Python script which checks the availability of Binance's locked stacking products and display a notification if a wanted product is available.
Made for Windows but could be adapted to other OSs without major issues.
Sample notification :
 {}
public HotelReservationDTO(Integer reservation, Integer room, Date chec... |
93e1d5c8-09c6-4837-a6d2-f07adc81292f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-29 15:40:23", "repo_name": "herbertdon/partitionagent", "sub_path": "/src/test/java/com/ibm/ito/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 33, "lang": "en",... | https://github.com/herbertdon/partitionagent | 210 | FILENAME: App.java | 0.267408 | package com.ibm.ito;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
public class App {
public static void main(String args[]) {
try {
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("cmd /c mvn archetype:generate");
// String stdout = loadSt... |
7c6d495a-8b0b-4e23-a0f5-e9d1a38ee3d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-26 14:05:37", "repo_name": "Todays/Today_Android", "sub_path": "/app/src/main/java/com/today/android/adapter/CategoryViewHolder.java", "file_name": "CategoryViewHolder.java", "file_ext": "java", "file_size_in_... | https://github.com/Todays/Today_Android | 199 | FILENAME: CategoryViewHolder.java | 0.255344 | package com.today.android.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.today.android.Listner.RecycleViewClickListner;
import com.today.android.R;
/**
* Created by sushil on 1/10/16.
*/
public class Cate... |
e984d6dc-570b-4ea0-9f2d-543e77173ac1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-30 18:20:52", "repo_name": "luneo7/appmesh_terraformcdk", "sub_path": "/apps/mango/src/main/java/com/lucas/controller/Controller.java", "file_name": "Controller.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/luneo7/appmesh_terraformcdk | 264 | FILENAME: Controller.java | 0.256832 | package com.lucas.controller;
import com.lucas.dto.People;
import com.lucas.service.GreetingService;
import com.lucas.service.PeopleService;
import io.smallrye.mutiny.Uni;
import org.eclipse.microprofile.config.inject.ConfigProperty;
import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
imp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.