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 |
|---|---|---|---|---|---|---|
f3ee40f4-4f1d-4693-8691-50e830f9795b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-10 12:10:15", "repo_name": "moomooda/zeusRpc", "sub_path": "/zeusRpc-demo/src/main/java/group/zeus/demo/client/RpcClientBootStrap.java", "file_name": "RpcClientBootStrap.java", "file_ext": "java", "file_size_i... | https://github.com/moomooda/zeusRpc | 239 | FILENAME: RpcClientBootStrap.java | 0.258326 | package group.zeus.demo.client;
import group.zeus.demo.api.Person;
import group.zeus.rpc.RpcClientConfiguration;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/**
* @Author: maodazhan
* @Date: 2020/12/5 22:25
*/
public class RpcClientBootStrap {
public static void... |
04f8013c-a4ca-4a94-bf4f-46846a6030cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-23 11:04:00", "repo_name": "KevinGuancheDarias/owge", "sub_path": "/business/src/main/java/com/kevinguanchedarias/owgejava/entity/listener/UpgradeListener.java", "file_name": "UpgradeListener.java", "file_ext"... | https://github.com/KevinGuancheDarias/owge | 223 | FILENAME: UpgradeListener.java | 0.264358 | package com.kevinguanchedarias.owgejava.entity.listener;
import com.kevinguanchedarias.owgejava.business.RequirementInformationBo;
import com.kevinguanchedarias.owgejava.entity.Upgrade;
import com.kevinguanchedarias.owgejava.enumerations.ObjectEnum;
import org.springframework.context.annotation.Lazy;
import org.spring... |
fb63f46d-d877-4bc5-a55d-b72ba39dc3df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-11 11:02:29", "repo_name": "lsfst/algorithm", "sub_path": "/src/main/java/com/algorithm/longpoll/deferredResult/PoolingMessage.java", "file_name": "PoolingMessage.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/lsfst/algorithm | 260 | FILENAME: PoolingMessage.java | 0.274351 | package com.algorithm.longpoll.deferredResult;
import java.util.HashMap;
import java.util.Map;
public class PoolingMessage {
private String vid;
private long lastConnectime;
private Map<String,String> message;
public PoolingMessage( String vid){
this(vid,"","");
}
public PoolingMess... |
6d19406a-9dd7-46f3-a879-19c02c403f9e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-18 02:17:49", "repo_name": "gocd/gocd", "sub_path": "/config/config-server/src/main/java/com/thoughtworks/go/config/exceptions/ConfigFileHasChangedException.java", "file_name": "ConfigFileHasChangedException.j... | https://github.com/gocd/gocd | 218 | FILENAME: ConfigFileHasChangedException.java | 0.226784 | /*
* Copyright 2023 Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
0e8a0c6d-2970-4427-83a6-fe88785d20df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-23 08:45:05", "repo_name": "RegishGeorge/wander_mate", "sub_path": "/app/src/main/java/com/example/wandermate/RouteDetails.java", "file_name": "RouteDetails.java", "file_ext": "java", "file_size_in_byte": 1150... | https://github.com/RegishGeorge/wander_mate | 267 | FILENAME: RouteDetails.java | 0.286968 | package com.example.wandermate;
import androidx.room.Entity;
import androidx.room.ForeignKey;
@Entity(foreignKeys = {@ForeignKey(entity = Route.class, parentColumns = "route_id", childColumns = "route_id"),
@ForeignKey(entity = Stop.class, parentColumns = "stop_id", childColumns = "stop_id")},
primaryKeys = {"route_i... |
a803aeb8-1dfe-4035-8bfc-f47d61f1b4b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-01 03:35:03", "repo_name": "haibofaith/Yunqiu", "sub_path": "/app/src/com/kball/util/KballActivityManager.java", "file_name": "KballActivityManager.java", "file_ext": "java", "file_size_in_byte": 1041, "line_c... | https://github.com/haibofaith/Yunqiu | 231 | FILENAME: KballActivityManager.java | 0.276691 | package com.kball.util;
import android.app.Activity;
import java.util.Stack;
/**
* Activity管理
* <p/>
* lizheng -- 15/5/21
* <p/>
* weici
*/
public class KballActivityManager {
private static KballActivityManager instance;
private Stack<Activity> mActivityStack = new Stack<Activity>();
private Kbal... |
bae2d645-60ca-4dff-b8db-a56502a940b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-14 12:37:17", "repo_name": "shaunhossain/ImComingDear", "sub_path": "/app/src/main/java/com/shaunhossain/imcomingdear/data/models/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_b... | https://github.com/shaunhossain/ImComingDear | 236 | FILENAME: Message.java | 0.225417 | package com.shaunhossain.imcomingdear.data.models;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.arch.persistence.room.PrimaryKey;
import android.support.annotation.NonNull;
/**
* Created by adriaboschsaez on 19/11/2017.
*/
@Entity(tableName = "messages")
... |
8f1909dd-6a45-470d-8ab4-2d7d861e1d94 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-05 18:19:57", "repo_name": "EmanuelGabriel/projeto-agenda-api", "sub_path": "/src/main/java/br/com/srsolution/agenda/api/dtos/request/ClienteModelInputRequest.java", "file_name": "ClienteModelInputRequest.java... | https://github.com/EmanuelGabriel/projeto-agenda-api | 255 | FILENAME: ClienteModelInputRequest.java | 0.214691 | package br.com.srsolution.agenda.api.dtos.request;
import java.io.Serializable;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.br.CPF;
import io.swagger.v3.oas.annotations.media.Schema;
imp... |
3a7bbcbd-4b13-4849-8818-02f16e32939e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-10 13:46:38", "repo_name": "lichaoliu/lottery", "sub_path": "/src/main/java/com/lottery/log/Tphase.java", "file_name": "Tphase.java", "file_ext": "java", "file_size_in_byte": 1131, "line_count": 43, "lang": "e... | https://github.com/lichaoliu/lottery | 269 | FILENAME: Tphase.java | 0.247987 | package com.lottery.log;
import com.lottery.common.util.HTTPUtil;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import java.util.Map;
/**
* Created by fengqinyun on 15/8/25.
*/
public class Tphase {
public static void main(String[] args) {
String platyType="1001";
System.out.p... |
97736790-45fc-436f-93ab-fc7abfb70851 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-12 12:11:45", "repo_name": "edoardogiacomello/TelegramBotJava-Unofficial", "sub_path": "/TelegramBotJava-Unofficial/src/main/java/com/edoardogiacomello/telegrambot/types/Voice.java", "file_name": "Voice.java",... | https://github.com/edoardogiacomello/TelegramBotJava-Unofficial | 248 | FILENAME: Voice.java | 0.23793 | package com.edoardogiacomello.telegrambot.types;
/**
* This object represents a voice note
* Created by Edoardo Giacomello <edoardo.giacomello1990@gmail.com> on 31/03/16.
*/
public class Voice implements TelegramData{
private String fileId;
private Integer duration;
private String mimeType; //Optional
... |
5a8cca1b-7e25-4b3f-ae2d-f32b604a04dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-12 23:01:22", "repo_name": "RenatoFSantos/Dentalpix", "sub_path": "/src/main/java/com/midilabs/dentech/api/service/ResponsavelService.java", "file_name": "ResponsavelService.java", "file_ext": "java", "file_si... | https://github.com/RenatoFSantos/Dentalpix | 228 | FILENAME: ResponsavelService.java | 0.278257 | package com.midilabs.dentech.api.service;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework.stereotype.Service;
import com.midilabs.dentech.api.model.vo.Responsavel;
impor... |
9726175a-151f-4136-9e76-b6fc97e7113d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-19 02:29:24", "repo_name": "rewerma/jdbc-agent", "sub_path": "/client-pool/src/main/java/com/jdbcagent/clientpool/c3p0/JAC3p0Connection.java", "file_name": "JAC3p0Connection.java", "file_ext": "java", "file_si... | https://github.com/rewerma/jdbc-agent | 218 | FILENAME: JAC3p0Connection.java | 0.253861 | package com.jdbcagent.clientpool.c3p0;
import com.jdbcagent.client.jdbc.JdbcConnection;
import com.jdbcagent.clientpool.ProxyConnection;
import com.mchange.v2.c3p0.impl.NewProxyConnection;
import java.lang.reflect.Field;
import java.sql.Connection;
import java.sql.SQLException;
public class JAC3p0Connection extends ... |
76976ec2-c43b-4507-a8e0-f22392f0ce20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-18 17:47:45", "repo_name": "azimoff98/STEP_IT-isp-payment-billing-service", "sub_path": "/src/main/java/az/itstep/pbs/resource/PaymentResource.java", "file_name": "PaymentResource.java", "file_ext": "java", "f... | https://github.com/azimoff98/STEP_IT-isp-payment-billing-service | 200 | FILENAME: PaymentResource.java | 0.279828 | package az.itstep.pbs.resource;
import az.itstep.pbs.dto.PaymentRequest;
import az.itstep.pbs.entities.Payment;
import az.itstep.pbs.service.impl.PaymentService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaTyp... |
7b91dc5b-8daa-4050-bce3-e0b06aba6e81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-11 03:35:48", "repo_name": "jackxieweiwu/Renpeng", "sub_path": "/app/src/main/java/comnepe/example/js_kftd_35/renpeng/base/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_i... | https://github.com/jackxieweiwu/Renpeng | 217 | FILENAME: BaseActivity.java | 0.26588 | package comnepe.example.js_kftd_35.renpeng.base;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.view.View;
import android.view.Window;
/**
* Created by renpeng on 2016/8/1.
*/
public abstract class BaseActivity extends FragmentActivity {
privat... |
0416344e-f8dc-4751-85db-66e0ef67e6b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-18 21:00:33", "repo_name": "cac03/elijars", "sub_path": "/elijars-launcher/src/main/java/com/caco3/elijars/launcher/ApplicationDefinition.java", "file_name": "ApplicationDefinition.java", "file_ext": "java", "... | https://github.com/cac03/elijars | 205 | FILENAME: ApplicationDefinition.java | 0.258326 | package com.caco3.elijars.launcher;
import com.caco3.elijars.utils.Assert;
import java.nio.file.Path;
import java.util.List;
public class ApplicationDefinition {
private final List<Path> dependencies;
private final String mainClassName;
private final String mainModuleName;
public ApplicationDefiniti... |
82a40948-c30c-4640-a7be-c3f93214c5de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-26 03:18:03", "repo_name": "Jessecar96/PVLUnofficial", "sub_path": "/app/src/main/java/com/jessecar/pvl/AboutActivity.java", "file_name": "AboutActivity.java", "file_ext": "java", "file_size_in_byte": 1072, "l... | https://github.com/Jessecar96/PVLUnofficial | 182 | FILENAME: AboutActivity.java | 0.198064 | package com.jessecar.pvl;
import android.content.Context;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import butterknife.BindView;
import butterknife.ButterKnife;
public class A... |
9cb11efc-e9a0-42b4-a4cf-75f754c688e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-20 21:52:03", "repo_name": "kelvincer/AsistenciasIDigital", "sub_path": "/app/src/main/java/com/idigital/asistenciasidigital/util/LocationUtil.java", "file_name": "LocationUtil.java", "file_ext": "java", "file... | https://github.com/kelvincer/AsistenciasIDigital | 209 | FILENAME: LocationUtil.java | 0.214691 | package com.idigital.asistenciasidigital.util;
import android.content.Context;
import android.os.Build;
import android.provider.Settings;
import android.text.TextUtils;
/**
* Created by USUARIO on 07/04/2017.
*/
public class LocationUtil {
public static boolean isLocationServicesAvailable(Context context) {
... |
2aa412b8-a50b-497a-8ab5-5ef618eb1227 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-02 15:22:22", "repo_name": "duongtran97/hair-salon", "sub_path": "/src/main/java/com/duongtv/hair/controller/HomeController.java", "file_name": "HomeController.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/duongtran97/hair-salon | 217 | FILENAME: HomeController.java | 0.233706 | package com.duongtv.hair.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import com.d... |
9ffd850e-d7a8-400b-88cb-c196b2187cd4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-29 16:37:54", "repo_name": "Slavvok/selenium_maven_allure", "sub_path": "/src/test/java/com/selenium/test/tests/TabletsTest.java", "file_name": "TabletsTest.java", "file_ext": "java", "file_size_in_byte": 983,... | https://github.com/Slavvok/selenium_maven_allure | 212 | FILENAME: TabletsTest.java | 0.275909 | package com.selenium.test.tests;
import com.selenium.test.MainTest;
import io.qameta.allure.junit4.DisplayName;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class TabletsTest extends MainTest {
@Test
@DisplayName("Market tablets test")
public void test(){
yandexPage.ge... |
78fcd2b9-f12e-419e-ac0e-5373747a413f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-27 17:28:30", "repo_name": "BMouhcine/Gestion-Conges-Webapp", "sub_path": "/JPAGestionConges/src/main/java/io/gestionconges/spring/LigneAuthEx/LigneAuthEx.java", "file_name": "LigneAuthEx.java", "file_ext": "j... | https://github.com/BMouhcine/Gestion-Conges-Webapp | 249 | FILENAME: LigneAuthEx.java | 0.258326 | package io.gestionconges.spring.LigneAuthEx;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import io.gestionconges.spring.AuthEx.AuthEx;... |
259f6789-31f7-4d22-a233-1328c061f849 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-04 11:45:06", "repo_name": "alexeyKvitko/EdaNyma", "sub_path": "/app/src/main/java/com/edanyma/model/LoginUser.java", "file_name": "LoginUser.java", "file_ext": "java", "file_size_in_byte": 1150, "line_count":... | https://github.com/alexeyKvitko/EdaNyma | 228 | FILENAME: LoginUser.java | 0.221351 | package com.edanyma.model;
import com.edanyma.AppConstants;
import org.pojomatic.Pojomatic;
import org.pojomatic.annotations.AutoProperty;
import java.io.Serializable;
@AutoProperty
public class LoginUser implements Serializable {
private String username;
private String password;
public LoginUser( ){
... |
1120aefb-0240-4a07-8fe0-7de6de7ec549 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-21 05:41:37", "repo_name": "junemohit12/chess-mj", "sub_path": "/src/main/java/com/cuebiq/chess/Location.java", "file_name": "Location.java", "file_ext": "java", "file_size_in_byte": 1024, "line_count": 56, "l... | https://github.com/junemohit12/chess-mj | 242 | FILENAME: Location.java | 0.291787 | package com.cuebiq.chess;
import java.util.Objects;
public class Location {
private int xPos;
private int yPos;
public Location(int xPos, int yPos) {
this.xPos = xPos;
this.yPos = yPos;
}
public int getxPos() {
return xPos;
}
public void setxPos(int xPos) {
... |
3b142a29-1e1b-4816-8bb9-10377c1f71a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-21 14:06:00", "repo_name": "rmnvalera/Californication", "sub_path": "/SetWallpaper/SetWallpaper.java", "file_name": "SetWallpaper.java", "file_ext": "java", "file_size_in_byte": 1052, "line_count": 43, "lang":... | https://github.com/rmnvalera/Californication | 259 | FILENAME: SetWallpaper.java | 0.284576 | /*
* 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 californication.SetWallpaper;
import java.util.HashMap;
import com.sun.jna.Native;
import com.sun.jna.platform.win32.WinDef.U... |
efcfdac6-30db-40d8-9e19-eadf54f094cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-27 13:57:12", "repo_name": "Ha5h-Code/The-Fob", "sub_path": "/app/src/main/java/hashcode/thefob/Entities/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count":... | https://github.com/Ha5h-Code/The-Fob | 205 | FILENAME: Account.java | 0.252384 | package hashcode.thefob.Entities;
import java.util.Hashtable;
public class Account {
private int accountId;
private String accountName;
private Hashtable<String, String> accountDetails = new Hashtable<String, String>();
public Account(int accountId, String accountName, Hashtable<String, String> accou... |
ac6eb9a2-d94f-4dcb-a741-a0baa4883a32 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-24 10:11:56", "repo_name": "snsh22/nshms", "sub_path": "/app/src/main/java/music/streaming/dev/snsh/musicstreaming/adpt/PersonalPlaylistNameAdapter2.java", "file_name": "PersonalPlaylistNameAdapter2.java", "fi... | https://github.com/snsh22/nshms | 228 | FILENAME: PersonalPlaylistNameAdapter2.java | 0.259826 | package music.streaming.dev.snsh.musicstreaming.adpt;
import android.app.Activity;
import android.support.v7.widget.CardView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import java.util.List;
import music.streaming.dev.snsh.musicstreaming.R;
import mu... |
9248da77-8f21-4562-932d-d7e4fad6f19c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-22T06:20:59", "repo_name": "qateam9092/AutomationFW", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1115, "line_count": 40, "lang": "en", "doc_type": "text", "b... | https://github.com/qateam9092/AutomationFW | 302 | FILENAME: README.md | 0.285372 | ### To run tests
- mvn clean verify
Profile : test
### To create jar
- mvn clean verify
Profile : jar
### Test controller guide lines
- Column header names must be static and changing them will break the project
- Adding a new column will have no effect until there is corresponding code change
### DB queries
- SELEC... |
44cd247a-61b2-4a8f-9628-c658b330817e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-28 10:16:36", "repo_name": "arunavo4/EruditionPaper", "sub_path": "/app/src/main/java/in/co/erudition/paper/data/model/University.java", "file_name": "University.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/arunavo4/EruditionPaper | 272 | FILENAME: University.java | 0.214691 | package in.co.erudition.paper.data.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Arunavo Ray on 31-03-2018.
*/
public class University {
@SerializedName("_id")
@Expose
private String id;
@SerializedName("Code")
@Expose
... |
f4a4be57-cf3f-4871-91e9-9dfa98a70d86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-28 10:48:56", "repo_name": "creatorvm/KinderApp", "sub_path": "/KinderSurvey/app/src/main/java/creator/kindersurvey/Splash/SplashScreen.java", "file_name": "SplashScreen.java", "file_ext": "java", "file_size_i... | https://github.com/creatorvm/KinderApp | 153 | FILENAME: SplashScreen.java | 0.213377 | package creator.kindersurvey.Splash;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import creator.kindersurvey.Login.Login;
import creator.kindersurvey.R;
public class SplashScreen extends AppCompatActivity {
@Override
protected void onCreate(Bundl... |
d23268bd-8caa-4576-8458-7f8b44f2f8dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-12 17:31:00", "repo_name": "mikhailferko/ferko", "sub_path": "/src/main/java/com/MySklad/ferko/documents/Sale.java", "file_name": "Sale.java", "file_ext": "java", "file_size_in_byte": 981, "line_count": 45, "l... | https://github.com/mikhailferko/ferko | 218 | FILENAME: Sale.java | 0.255344 | package com.MySklad.ferko.documents;
import com.MySklad.ferko.service.ProductReceipt;
import com.MySklad.ferko.service.ProductSale;
import java.util.List;
public class Sale {
private int id;
private String warehouseName;
private List<ProductSale> listOfProducts;
public Sale(int id, String warehous... |
5be87370-098e-4eac-ab13-7bfe60898d76 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-25 10:51:15", "repo_name": "wengchuqin/utilstools", "sub_path": "/thrift/src/main/java/top/chuqin/thrift/impl/HelloWordServiceImpl.java", "file_name": "HelloWordServiceImpl.java", "file_ext": "java", "file_siz... | https://github.com/wengchuqin/utilstools | 233 | FILENAME: HelloWordServiceImpl.java | 0.26971 | package top.chuqin.thrift.impl;
import org.apache.commons.lang3.StringUtils;
import org.apache.thrift.TException;
import top.chuqin.thrift.HelloWordService;
import top.chuqin.thrift.Request;
import top.chuqin.thrift.RequestException;
import java.time.LocalDateTime;
public class HelloWordServiceImpl implements HelloW... |
f73a008b-ce2d-451b-8d4f-9113c30efe7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-17 08:17:37", "repo_name": "Harishwar/Sensorem", "sub_path": "/src/com/harishwar/sensorem/Proximity.java", "file_name": "Proximity.java", "file_ext": "java", "file_size_in_byte": 989, "line_count": 43, "lang":... | https://github.com/Harishwar/Sensorem | 228 | FILENAME: Proximity.java | 0.272025 | package com.harishwar.sensorem;
import com.harishwar.sensorem.SensorHandler;
import com.harishwar.sensorem.Proximity;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.widget.TextView;
public class Proximity extends SensorHandler {
private float lastVal = -1;
ComponentName compN... |
4aede254-6048-46cf-afa8-1d107117cb63 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-01-02T14:08:29", "repo_name": "johnryM/static-server", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1041, "line_count": 27, "lang": "en", "doc_type": "text", "blo... | https://github.com/johnryM/static-server | 260 | FILENAME: README.md | 0.226784 | # static-server
Server for static files hosted in Heroku and using [node-static](https://github.com/cloudhead/node-static)
## How to set up
1. Create a heroku account and install the Heroku CLI and node.js
2. Navigate to the root folder
3. Install the node-static module and dependencies
`npm install node-static`
4. ... |
e60fc303-db25-4676-934d-59b771a5c5f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-24 18:39:52", "repo_name": "lukapopovic97/WebApp-Java", "sub_path": "/src/java/entities/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 1127, "line_count": 49, "lang": "en", "doc... | https://github.com/lukapopovic97/WebApp-Java | 252 | FILENAME: Test.java | 0.26588 | /*
* 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 entities;
import java.util.Collection;
import java.util.Date;
//import javax.persistence.CascadeType;
import javax.persistence... |
f1e5bc6b-1a43-471d-897b-8f88782a3067 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-21 19:04:10", "repo_name": "jscti/gogolalert", "sub_path": "/main/java/com/cti/gogolalert/BootReceiver.java", "file_name": "BootReceiver.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 30, ... | https://github.com/jscti/gogolalert | 191 | FILENAME: BootReceiver.java | 0.258326 | package com.cti.gogolalert;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.util.Log;
/**
* Created by CTI on 12/06/2016.
*/
public class BootReceiver extends BroadcastReceiver {
@Overri... |
73e94627-6c34-47f0-8375-2be7a2d200e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-08 19:13:29", "repo_name": "surajsaluja4/suraj_fact", "sub_path": "/src/fact/edit.java", "file_name": "edit.java", "file_ext": "java", "file_size_in_byte": 1026, "line_count": 47, "lang": "en", "doc_type": "co... | https://github.com/surajsaluja4/suraj_fact | 232 | FILENAME: edit.java | 0.274351 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package fact;
import java.awt.Color;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
/**
*
* @author suraj
*/
public class edit implements fonts{
... |
7e8645f8-7aeb-4995-9682-79673449491b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-17 16:37:02", "repo_name": "MrZhuangSheng/ERP", "sub_path": "/src/main/java/cn/zsxmlv/modules/sys/ctrl/TestCtrl.java", "file_name": "TestCtrl.java", "file_ext": "java", "file_size_in_byte": 1088, "line_count":... | https://github.com/MrZhuangSheng/ERP | 219 | FILENAME: TestCtrl.java | 0.183594 | package cn.zsxmlv.modules.sys.ctrl;
import cn.zsxmlv.common.utils.RedisUtils;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.io.U... |
4b04fd0f-a87f-424e-829f-8f01ede14d1d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-15 14:37:08", "repo_name": "htdangkhoa/QRCodeScanner-Android", "sub_path": "/app/src/main/java/com/example/dangkhoa/qrcodefirebase/Models/QRModel.java", "file_name": "QRModel.java", "file_ext": "java", "file_s... | https://github.com/htdangkhoa/QRCodeScanner-Android | 248 | FILENAME: QRModel.java | 0.226784 | package com.example.dangkhoa.qrcodefirebase.Models;
import com.example.dangkhoa.qrcodefirebase.Utils.Services;
import java.util.UUID;
import io.realm.RealmObject;
/**
* Created by dangkhoa on 11/10/17.
*/
public class QRModel extends RealmObject {
String id;
String detail;
long price;
String time... |
e32faf3c-3f07-4115-9595-94cec6313f96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-11 04:14:52", "repo_name": "fmtlyw/WeiYun", "sub_path": "/modulemvp/src/main/java/com/lyw/modulemvp/base/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte": 1228, "li... | https://github.com/fmtlyw/WeiYun | 245 | FILENAME: BaseActivity.java | 0.250913 | package com.lyw.modulemvp.base;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
import android.view.WindowManager;
import com.lyw.commonutils.dialog.LoadingDialog;
import com.lyw.modulemvp.dialog.LoadingLayout;
/**... |
ab2dd7db-94a8-4da7-a53c-9dba001359d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 13:24:09", "repo_name": "stanalexandrucode/ProgSchool", "sub_path": "/src/com/company/Person/Employee/SalesPeople.java", "file_name": "SalesPeople.java", "file_ext": "java", "file_size_in_byte": 980, "line_... | https://github.com/stanalexandrucode/ProgSchool | 200 | FILENAME: SalesPeople.java | 0.26588 | package com.company.Person.Employee;
import com.company.Person.Module;
import com.company.Person.Person;
import com.company.Person.Student;
import com.company.ProgrammingSchool;
import java.util.ArrayList;
import java.util.List;
public class SalesPeople extends Employee {
List<Student> studentList;
Programmi... |
3c648269-7e51-482d-a7d8-1844cd1d5f95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-15 13:57:11", "repo_name": "Lovestrant/Android-ListViews", "sub_path": "/app/src/main/java/com/example/listviews/Youtube.java", "file_name": "Youtube.java", "file_ext": "java", "file_size_in_byte": 1046, "line... | https://github.com/Lovestrant/Android-ListViews | 189 | FILENAME: Youtube.java | 0.188324 | package com.example.listviews;
import androidx.appcompat.app.AppCompatActivity;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
public class Youtube extends AppCompatActivity {
Drawable drawable; ImageView image; TextView info;... |
b6526e80-7705-4f76-8519-37d26306d634 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 11:57:03", "repo_name": "mkemiche/final_project_allforhome", "sub_path": "/src/main/java/io/allforhome/controllersAPI/ImageUploadControllerAPI.java", "file_name": "ImageUploadControllerAPI.java", "file_ext"... | https://github.com/mkemiche/final_project_allforhome | 226 | FILENAME: ImageUploadControllerAPI.java | 0.243642 | package io.allforhome.controllersAPI;
import io.allforhome.services.ImageUploadService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipar... |
5ba9707f-a4e3-4f76-81b6-19ee30a7062d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-06 01:38:13", "repo_name": "FelipeCarvalho25/UniCarEJW", "sub_path": "/app/src/main/java/com/example/unicarejfw/ui/perfil/TabSobreFragment.java", "file_name": "TabSobreFragment.java", "file_ext": "java", "file... | https://github.com/FelipeCarvalho25/UniCarEJW | 195 | FILENAME: TabSobreFragment.java | 0.181263 | package com.example.unicarejfw.ui.perfil;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import com.example.unicarejfw.R;
public class TabSobreFragment extends Fragment {
public static TabSobreFragmen... |
ee3b3314-3a5c-47ae-9736-9961dd770aef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-30 08:23:43", "repo_name": "shike2599/MyApp", "sub_path": "/app/src/main/java/project/wy/com/myappdemo/bean/EquipmentInfoBean.java", "file_name": "EquipmentInfoBean.java", "file_ext": "java", "file_size_in_byt... | https://github.com/shike2599/MyApp | 389 | FILENAME: EquipmentInfoBean.java | 0.204342 | package project.wy.com.myappdemo.bean;
/**
* Created by lichee on 2018/9/23.
*/
public class EquipmentInfoBean {
/**
* equipment : {"equip_mdate":20,"equip_isdeleted":0,"equip_name":"?????","equip_no":"?????","equip_udate":{"date":31,"hours":0,"seconds":0,"month":7,"nanos":0,"timezoneOffset":-480,"year":1... |
3626eab6-6115-4f07-9572-ede35b02d89a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-06 09:39:51", "repo_name": "ghemulyanto/kafka-springboot-rest", "sub_path": "/src/main/java/com/trim/kafkarest/controller/WebRestController.java", "file_name": "WebRestController.java", "file_ext": "java", "fi... | https://github.com/ghemulyanto/kafka-springboot-rest | 219 | FILENAME: WebRestController.java | 0.23231 | package com.trim.kafkarest.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.an... |
19ae3c16-810c-4334-8e69-2bcf341c0f90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-15 13:15:56", "repo_name": "pmidc-egov-tech/pl-services", "sub_path": "/pl-services/src/main/java/org/egov/pl/models/AuditDetails.java", "file_name": "AuditDetails.java", "file_ext": "java", "file_size_in_byte... | https://github.com/pmidc-egov-tech/pl-services | 221 | FILENAME: AuditDetails.java | 0.23231 | package org.egov.pl.models;
import javax.validation.constraints.Size;
import org.springframework.validation.annotation.Validated;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok... |
1ac89489-f6c0-41b7-957d-5295f44d3f11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-07 16:42:10", "repo_name": "Aosamesan/twitterbot", "sub_path": "/src/main/java/com/aosamesan/service/MongoService.java", "file_name": "MongoService.java", "file_ext": "java", "file_size_in_byte": 965, "line_co... | https://github.com/Aosamesan/twitterbot | 194 | FILENAME: MongoService.java | 0.253861 | package com.aosamesan.service;
import com.aosamesan.model.Bot;
import com.aosamesan.repository.BotRepository;
import com.sun.istack.internal.NotNull;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class MongoService... |
6e481d8c-cd54-440c-9599-fed3e20c4613 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-22 11:06:56", "repo_name": "dnieuwenhuizen97/Opdrachten_Java_Advanced", "sub_path": "/my-first-api/src/main/java/nl/inholland/myfirstapi/model/Album.java", "file_name": "Album.java", "file_ext": "java", "file_... | https://github.com/dnieuwenhuizen97/Opdrachten_Java_Advanced | 210 | FILENAME: Album.java | 0.218669 | package nl.inholland.myfirstapi.model;
public abstract class Album {
protected long id;
protected String title;
protected String artist;
protected int price;
public Album() {
}
public Album(long id, String title, String artist, int price) {
this.id = id;
t... |
34ef0522-100d-43aa-823c-d74ab145874a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-08-24T17:59:35", "repo_name": "zazyzaya/StenoTyper", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 32, "lang": "en", "doc_type": "text", "blob_... | https://github.com/zazyzaya/StenoTyper | 328 | FILENAME: README.md | 0.23793 | # StenoTyper
Converts the keyboard into a stenographer's keyboard
I have no idea why anyone would ever need this
# Requirements:
python 3
pynput
To obtain pynput, simply use the command
```
pip install pynput
```
and it will be installed
# Mapping
The keyboard is arranged like this:
(lowercase letter... |
8640aa57-a14c-4dac-a044-fc3c404277ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-23 17:16:33", "repo_name": "oraculo-nl/ExampleBackend", "sub_path": "/src/main/java/nl/oraculo/popsongs/endpoint/ArtiestEndpoint.java", "file_name": "ArtiestEndpoint.java", "file_ext": "java", "file_size_in_by... | https://github.com/oraculo-nl/ExampleBackend | 230 | FILENAME: ArtiestEndpoint.java | 0.252384 | package nl.oraculo.popsongs.endpoint;
import nl.oraculo.popsongs.domain.Artiest;
import nl.oraculo.popsongs.service.ArtiestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Optional;
@CrossOrigin(origins =... |
aa9ce309-6c3a-40cc-b874-3241d3dcb0ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-05 12:31:42", "repo_name": "maxymmrn/JavaLab3", "sub_path": "/src/main/java/ua/lviv/iot/hockeyGoods/models/IceSkates.java", "file_name": "IceSkates.java", "file_ext": "java", "file_size_in_byte": 1044, "line_c... | https://github.com/maxymmrn/JavaLab3 | 229 | FILENAME: IceSkates.java | 0.277473 | package ua.lviv.iot.hockeyGoods.models;
public class IceSkates extends HockeyGood {
private int footSize;
private String model;
public IceSkates() {
}
public IceSkates(final double price, final String producerName,
final Age userAge, final ProfessionalLevel professionalLevel,
... |
4e028f55-7f6c-478f-98b6-0137a678a4df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-08T18:41:15", "repo_name": "JKK86/squash_club", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1210, "line_count": 50, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/JKK86/squash_club | 271 | FILENAME: README.md | 0.250913 | # Squash club
A squash/tennis club management web application with court reservation system, built with Django Framework.
## Technologies:
- Python
- Django
- Celery
- JavaScript
- HTML
- CSS
## Features:
- user authorization (register, login, logout, edit profile, change password, reset password)
- courts reservati... |
a0be6892-d1e0-47ef-bb11-d36558effd96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-05 03:58:04", "repo_name": "CrystalGirls/NacosConsumer", "sub_path": "/src/main/java/net/crystalos/nacosconsumer/controller/DemoController.java", "file_name": "DemoController.java", "file_ext": "java", "file_s... | https://github.com/CrystalGirls/NacosConsumer | 213 | FILENAME: DemoController.java | 0.203075 | package net.crystalos.nacosconsumer.controller;
import net.crystalos.nacosconsumer.service.DemoService;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.we... |
f016a5fd-7a50-40f9-99fe-fbd87145d59a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-07 23:17:33", "repo_name": "Jing2012/IdeaSample", "sub_path": "/ProxySamples/src/com/company/advice/ControllablePerformanceMonitor.java", "file_name": "ControllablePerformanceMonitor.java", "file_ext": "java",... | https://github.com/Jing2012/IdeaSample | 221 | FILENAME: ControllablePerformanceMonitor.java | 0.258326 | package com.company.advice;
import com.company.common.PerformanceMonitor;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.support.DelegatingIntroductionInterceptor;
/**
* Created by jingjing.hu on 2017/9/20.
* 引介增强
*/
public class ControllablePerformanceMonitor extends DelegatingI... |
e1a64543-4e34-4c2b-a589-5af22ed6feb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-16 16:11:07", "repo_name": "City-Outdoors/City-Outdoors-Android", "sub_path": "/app/src/uk/co/jarofgreen/cityoutdoors/UI/TitleBar.java", "file_name": "TitleBar.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/City-Outdoors/City-Outdoors-Android | 246 | FILENAME: TitleBar.java | 0.285372 | package uk.co.jarofgreen.cityoutdoors.UI;
import uk.co.jarofgreen.cityoutdoors.R;
import android.app.Activity;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.widget.TextView;
/**
*
* @author James Baster <james@jarofgreen.co.uk>
* @copyright City of Edinburgh... |
e32b27af-49d4-4765-8673-73d33ba3a69f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-20 16:40:53", "repo_name": "TimVonsee/csp-store", "sub_path": "/src/main/java/nl/sharecompany/writer/csp/TokenHandler.java", "file_name": "TokenHandler.java", "file_ext": "java", "file_size_in_byte": 1208, "li... | https://github.com/TimVonsee/csp-store | 231 | FILENAME: TokenHandler.java | 0.247987 | package nl.sharecompany.writer.csp;
import nl.sharecompany.pattern.buffers.SerializableByteBuffer;
import nl.sharecompany.pattern.bytebuffercommand.IByteBufferCommand;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
/**
* Used for debu... |
860688fd-e7a6-4391-94e2-897557a21430 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-16 01:58:48", "repo_name": "gbluntzer/makertracker", "sub_path": "/src/main/java/org/tenbitworks/dto/NewUserDTO.java", "file_name": "NewUserDTO.java", "file_ext": "java", "file_size_in_byte": 1084, "line_count... | https://github.com/gbluntzer/makertracker | 248 | FILENAME: NewUserDTO.java | 0.228156 | package org.tenbitworks.dto;
import java.util.List;
import java.util.UUID;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotBlank;
public class NewUserDTO {
@NotBlank
private String username;
@NotBlank
private String plainPassword;
private UUID memberId;
@NotNu... |
6988f517-5f7e-4e07-b242-91537750dda8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-01 06:34:05", "repo_name": "cgc186/server", "sub_path": "/src/main/java/com/example/server/controller/FileController.java", "file_name": "FileController.java", "file_ext": "java", "file_size_in_byte": 1127, "l... | https://github.com/cgc186/server | 189 | FILENAME: FileController.java | 0.228156 | package com.example.server.controller;
import com.example.server.entity.FileData;
import com.example.server.service.FileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.spr... |
6233ca98-73bb-4678-b89c-ccd8b95e0ddc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-09-24T13:40:27", "repo_name": "csharpd/picagramram", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1046, "line_count": 65, "lang": "en", "doc_type": "text", "blob_... | https://github.com/csharpd/picagramram | 277 | FILENAME: README.md | 0.23231 | Picagram
=========
A photosharing website

####Deployed
To view, visit: http://picagram.herokuapp.com/
###Objectives
- Get a deeper understanding of Rails and using paperclip to upload pictures onto Amazon S3.
- Learn about many-to-many associations for posts and tags.
- Use th... |
880ff5ff-98eb-4980-a162-80feaa22c25e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-18 01:29:13", "repo_name": "the-blue-alliance/the-blue-alliance-android", "sub_path": "/android/src/main/java/com/thebluealliance/androidclient/models/Robot.java", "file_name": "Robot.java", "file_ext": "java"... | https://github.com/the-blue-alliance/the-blue-alliance-android | 241 | FILENAME: Robot.java | 0.228156 | package com.thebluealliance.androidclient.models;
import com.thebluealliance.api.model.IRobot;
import javax.annotation.Nullable;
public class Robot implements IRobot {
private String key;
private String name;
private String teamKey;
private Integer year;
private Long lastModified;
@Override... |
cf288d96-c96c-4610-9cd1-dafe10c10839 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-15T23:08:16", "repo_name": "Guuri11/let-it-flow", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1138, "line_count": 25, "lang": "en", "doc_type": "text", "blob_... | https://github.com/Guuri11/let-it-flow | 285 | FILENAME: README.md | 0.225417 | # Let it flow 🧠✨
Let it flow is a friendly note app with neumorphic UI concept and animations to improve the UX.
The inspiration was that I didn't find a note app that could create notes ASAP, so I decided to make it by my own.
I wanted to get many ways to interact with the notes with the basic CRUD so I could:
- CRUD... |
37e7ed0f-9ae5-429c-8a84-95ca05f80137 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-20 02:54:46", "repo_name": "zsj6102/zsjda", "sub_path": "/app/src/main/java/com/colpencil/propertycloud/Ui/RecordView.java", "file_name": "RecordView.java", "file_ext": "java", "file_size_in_byte": 1210, "line... | https://github.com/zsj6102/zsjda | 220 | FILENAME: RecordView.java | 0.259826 | package com.colpencil.propertycloud.Ui;
import android.content.Context;
import android.os.SystemClock;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ImageView;
/**
* User:Chenbao
* This View is a view for recording
*/
public class RecordView extends ImageView {
priva... |
6e36b07f-afd2-4476-b7e3-e3a80440736e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 01:26:25", "repo_name": "LaxusJie/AopSimple", "sub_path": "/app/src/main/java/com/jie/aoptest/aspect/SafeAspect.java", "file_name": "SafeAspect.java", "file_ext": "java", "file_size_in_byte": 1131, "line_co... | https://github.com/LaxusJie/AopSimple | 253 | FILENAME: SafeAspect.java | 0.261331 | package com.jie.aoptest.aspect;
import android.util.Log;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import java.io.PrintWriter;
import java.io.StringWriter;
/**
* desc:安全切片
* author... |
1349230f-8202-49c6-8099-dfe5a42219f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-15 01:30:28", "repo_name": "hqbhoho/learn-bigdata", "sub_path": "/learn-concurrent/src/main/java/com/hqbhoho/bigdata/learnConcurrent/disruptor/Operation.java", "file_name": "Operation.java", "file_ext": "java"... | https://github.com/hqbhoho/learn-bigdata | 274 | FILENAME: Operation.java | 0.29584 | package com.hqbhoho.bigdata.learnConcurrent.disruptor;
import com.lmax.disruptor.BlockingWaitStrategy;
import com.lmax.disruptor.RingBuffer;
import com.lmax.disruptor.dsl.Disruptor;
import com.lmax.disruptor.dsl.ProducerType;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
import jav... |
248c54d4-42f7-4c4e-b8b0-bdf5464c8b70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-18 00:42:06", "repo_name": "bmaur/simple-rest-api", "sub_path": "/src/main/java/com/one2tribe/recruitment/MessageController.java", "file_name": "MessageController.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/bmaur/simple-rest-api | 203 | FILENAME: MessageController.java | 0.255344 | package com.one2tribe.recruitment;
import com.one2tribe.recruitment.model.Message;
import com.one2tribe.recruitment.model.MessageInput;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.UUID;
@RestController
@RequiredArgsConstructor
publi... |
4618fd58-bcf6-4de3-a5a8-278d0ed69c7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-23 02:31:21", "repo_name": "Sunnzy/alwaysdazz", "sub_path": "/main/java/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 50, "lang": "en", "doc_type": "code", ... | https://github.com/Sunnzy/alwaysdazz | 214 | FILENAME: Test.java | 0.204342 | import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
public class T... |
febd3ead-fc49-4719-a47d-01e6d7337eb4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-21 15:29:58", "repo_name": "lgf-Allen/spring-boot-demo", "sub_path": "/spring-boot-was/src/main/java/com/allen/spring/config/IbmmqConfig.java", "file_name": "IbmmqConfig.java", "file_ext": "java", "file_size_i... | https://github.com/lgf-Allen/spring-boot-demo | 206 | FILENAME: IbmmqConfig.java | 0.2227 | /**
*
*/
package com.allen.spring.config;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.boot.web.support.ErrorPageFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframew... |
e5d445ad-e748-4a8a-8118-874a599f81f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-26 16:19:18", "repo_name": "zhichao19930808/struts2-test", "sub_path": "/src/main/java/com/demo/utils/EncodingInterceptors.java", "file_name": "EncodingInterceptors.java", "file_ext": "java", "file_size_in_byt... | https://github.com/zhichao19930808/struts2-test | 210 | FILENAME: EncodingInterceptors.java | 0.240775 | package com.demo.utils;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.Interceptor;
import org.apache.struts2.ServletActionContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class EncodingInterceptors implements I... |
9a3ac34c-aabe-436c-9bb6-6254815c32bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-12 06:34:32", "repo_name": "JorgReal/ExamenPractico", "sub_path": "/src/modelo/Principal.java", "file_name": "Principal.java", "file_ext": "java", "file_size_in_byte": 1105, "line_count": 39, "lang": "en", "do... | https://github.com/JorgReal/ExamenPractico | 237 | FILENAME: Principal.java | 0.261331 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package modelo;
/**
*
* @author Real
*/
import java.util.Scanner;
public class Principal {
public static void main (String [] ... |
6cb554a1-1a03-4560-8f39-729959f4c6ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-28 16:00:22", "repo_name": "giovaneroggen/demo", "sub_path": "/delivery-service/src/main/java/br/com/delivery/enummeration/DispatchTypeEnum.java", "file_name": "DispatchTypeEnum.java", "file_ext": "java", "fil... | https://github.com/giovaneroggen/demo | 233 | FILENAME: DispatchTypeEnum.java | 0.278257 | package br.com.delivery.enummeration;
import br.com.entity.enummeration.GenericEnum;
import br.com.runnable.web.exception.GenericProcessException;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.s... |
e80a7e9c-ddac-488d-beb0-3bae30f16b05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-11 11:19:26", "repo_name": "Metatavu/wso2-dbquery-mediator", "sub_path": "/src/main/java/fi/metatavu/wso2/dbquery/DBQueryMediatorSerializer.java", "file_name": "DBQueryMediatorSerializer.java", "file_ext": "ja... | https://github.com/Metatavu/wso2-dbquery-mediator | 218 | FILENAME: DBQueryMediatorSerializer.java | 0.273574 | package fi.metatavu.wso2.dbquery;
import org.apache.axiom.om.OMElement;
import org.apache.synapse.Mediator;
import org.apache.synapse.config.xml.AbstractDBMediatorSerializer;
/**
* Mediator serializer for dbquery mediator
*
* @author Antti Leppä
*/
public class DBQueryMediatorSerializer extends AbstractDBMediato... |
9a09e036-8f9e-417b-a317-0ca915877800 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-05 00:14:04", "repo_name": "Maxcimkj/Spring-5-Samples", "sub_path": "/spring_jdbc/src/main/java/com/maksim/spring/samples/dao/JdbcTemplateOnlyDao.java", "file_name": "JdbcTemplateOnlyDao.java", "file_ext": "ja... | https://github.com/Maxcimkj/Spring-5-Samples | 198 | FILENAME: JdbcTemplateOnlyDao.java | 0.258326 | package com.maksim.spring.samples.dao;
import com.maksim.spring.samples.model.Station;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator;
import javax.sql.DataSource;
import java.util.List;
public class JdbcTemplateOnlyDao {
private Jdbc... |
75616e65-e7e5-4651-a0e9-a26221867847 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-01 09:37:04", "repo_name": "git-wylson/kata", "sub_path": "/foobarqix/foobarqix-web/src/main/java/fr/wd/kata/rs/config/CORSFilter.java", "file_name": "CORSFilter.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/git-wylson/kata | 230 | FILENAME: CORSFilter.java | 0.253861 | package fr.wd.kata.rs.config;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
... |
dec9dcc8-b203-422e-8f78-29116158fb93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-20 22:32:09", "repo_name": "NEMAR/PaNeRo", "sub_path": "/panero-tools/debs-simulator/src/main/java/org/panero/debs/config/PaneroConfiguration.java", "file_name": "PaneroConfiguration.java", "file_ext": "java",... | https://github.com/NEMAR/PaNeRo | 193 | FILENAME: PaneroConfiguration.java | 0.228156 | package org.panero.debs.config;
import org.panero.gateway.client.GatewayClient;
import org.panero.gateway.client.GatewayConfiguration;
import org.panero.gateway.client.http.DefaultHttpClient;
import org.panero.gateway.client.http.HttpClientConfiguration;
import org.springframework.beans.factory.annotation.Autowired;
i... |
db16e0df-d7cb-4b7d-91d3-bee46653b4f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-23 12:13:18", "repo_name": "mawenlong1/springCloud_order", "sub_path": "/order/order-server/src/main/java/com/mwl/order/controller/SendMessageController.java", "file_name": "SendMessageController.java", "file_... | https://github.com/mawenlong1/springCloud_order | 203 | FILENAME: SendMessageController.java | 0.220007 | package com.mwl.order.controller;
import com.mwl.order.dto.OrderDTO;
import com.mwl.order.message.StreamClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.support.MessageBuilder;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframewo... |
c977d43e-4f99-4e80-86d7-b2f4e355c0de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-14 01:57:06", "repo_name": "Kneuman0/AlbumTunesRef", "sub_path": "/AlbumTunesControllers/src/main/java/fun/albumtunes/changelisteners/OnMediaProgressUpdate.java", "file_name": "OnMediaProgressUpdate.java", "fi... | https://github.com/Kneuman0/AlbumTunesRef | 200 | FILENAME: OnMediaProgressUpdate.java | 0.286968 | package fun.albumtunes.changelisteners;
import fun.albumtunes.utilities.MediaUtils;
import javafx.scene.control.Label;
import javafx.scene.control.ScrollBar;
import javafx.scene.media.MediaPlayer;
public class OnMediaProgressUpdate implements javafx.scene.media.AudioSpectrumListener {
private Label songTime;
priv... |
111e437b-2268-47ab-9dd5-b05e7d18ce56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-18 09:15:01", "repo_name": "niuzymain/SpringBoot_Study", "sub_path": "/miaosha/src/main/java/com/nzy/miaosha/MiaoshaApplication.java", "file_name": "MiaoshaApplication.java", "file_ext": "java", "file_size_in_... | https://github.com/niuzymain/SpringBoot_Study | 213 | FILENAME: MiaoshaApplication.java | 0.218669 | package com.nzy.miaosha;
import com.nzy.miaosha.dao.PasswordMapper;
import com.nzy.miaosha.entity.Password;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.Sp... |
0ed255ac-9ec5-4c85-9085-f36c3d440147 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-09 08:36:20", "repo_name": "L-Xiah/theX", "sub_path": "/MonSpringBoot/src/main/java/fv/controller/HomeController.java", "file_name": "HomeController.java", "file_ext": "java", "file_size_in_byte": 1166, "line_... | https://github.com/L-Xiah/theX | 243 | FILENAME: HomeController.java | 0.220007 | package fv.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class HomeController {
private Logger logger = LoggerFactory.getLogger(this.getClass());
@Reques... |
33a87b9f-6372-486a-a1c4-ac91d7112599 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-08 04:44:21", "repo_name": "Evior/e3_mall", "sub_path": "/e3_sso/e3_sso_service/src/main/java/cn/e3mall/sso/service/impl/TokenServiceImpl.java", "file_name": "TokenServiceImpl.java", "file_ext": "java", "file_... | https://github.com/Evior/e3_mall | 255 | FILENAME: TokenServiceImpl.java | 0.245085 | package cn.e3mall.sso.service.impl;
import cn.e3mall.comment.jedis.JedisClientCluster;
import cn.e3mall.comment.utils.E3Result;
import cn.e3mall.comment.utils.JsonUtils;
import cn.e3mall.pojo.TbUser;
import cn.e3mall.sso.service.TokenService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.bean... |
68eb145c-a1a4-42ee-98fc-02e4c2c9bd16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-21 12:28:36", "repo_name": "bprollinson/robotzombieninjawizard", "sub_path": "/rznw/game/maincharacter/inventory/IceRod.java", "file_name": "IceRod.java", "file_ext": "java", "file_size_in_byte": 1150, "line_c... | https://github.com/bprollinson/robotzombieninjawizard | 250 | FILENAME: IceRod.java | 0.285372 | package rznw.game.maincharacter.inventory;
import rznw.game.enemy.EnemyCharacter;
import rznw.game.maincharacter.MainCharacter;
import rznw.map.GameWorld;
import rznw.ui.LogRendererFactory;
import rznw.utility.RandomNumberGenerator;
public class IceRod extends Weapon
{
public static final int EQUIPMENT_NUMBER = 6... |
15f0757b-f72f-4e52-8d17-47fd9418d9d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-13 21:58:32", "repo_name": "mykels/microTag", "sub_path": "/src/main/java/micro/tag/core/services/file/FileReader.java", "file_name": "FileReader.java", "file_ext": "java", "file_size_in_byte": 1044, "line_cou... | https://github.com/mykels/microTag | 195 | FILENAME: FileReader.java | 0.240775 | package micro.tag.core.services.file;
import org.apache.commons.io.FileUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Service... |
1f1ea9ec-36c7-4a1e-8f99-452ef5174377 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-06-22 06:36:45", "repo_name": "rpidikiti/mongodb-benchmark-tools", "sub_path": "/src/main/java/org/eatbacon/mongodb/benchmark/morphia/entity/TestObject.java", "file_name": "TestObject.java", "file_ext": "java", "... | https://github.com/rpidikiti/mongodb-benchmark-tools | 281 | FILENAME: TestObject.java | 0.252384 | package org.eatbacon.mongodb.benchmark.morphia.entity;
import java.util.List;
import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import com.google.code.morphia.annotations.Property;
@Entity
public class TestObject {
... |
568537a3-e439-4a2e-9a32-1ef0f457985c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-23 13:27:41", "repo_name": "Abolesonike/WeVote", "sub_path": "/src/main/java/com/example/wv/entity/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 52, "lang":... | https://github.com/Abolesonike/WeVote | 196 | FILENAME: User.java | 0.204342 | package com.example.wv.entity;
import lombok.Data;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Collection;
import java.util.Collections;
@Data... |
fd328543-7e60-4474-83f9-b93ef6aa6da5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-30 03:35:55", "repo_name": "hleminh/MyLogin", "sub_path": "/app/src/main/java/com/example/hoang/mylogin/utils/InputValidator.java", "file_name": "InputValidator.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/hleminh/MyLogin | 243 | FILENAME: InputValidator.java | 0.282196 | package com.example.hoang.mylogin.utils;
import android.util.Patterns;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by Hoang on 5/27/2017.
*/
public class InputValidator {
private static final String PASSWORD_PATTERN = "^(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{8,10})$";
p... |
48607f67-dd1e-48ef-8127-fb5c9caf538f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-16 01:46:18", "repo_name": "hzr958/myProjects", "sub_path": "/scmv6/web-v8pub/src/main/java/com/smate/web/v8pub/service/sns/PubModifyHistoryServiceImpl.java", "file_name": "PubModifyHistoryServiceImpl.java", "... | https://github.com/hzr958/myProjects | 237 | FILENAME: PubModifyHistoryServiceImpl.java | 0.267408 | package com.smate.web.v8pub.service.sns;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.smate.web.v8pub.dao.sns.PubModifyHistoryDao;
import com.smate.web.v8pub.exception.ServiceEx... |
24349887-e575-4e47-8849-3f30b7455da3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-25 02:03:54", "repo_name": "zople/365Project", "sub_path": "/Model/src/java/com/zople/dao/enterprise/EnterpriseContactFacade.java", "file_name": "EnterpriseContactFacade.java", "file_ext": "java", "file_size_i... | https://github.com/zople/365Project | 225 | FILENAME: EnterpriseContactFacade.java | 0.294215 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.zople.dao.enterprise;
import com.zople.dao.basic.*;
import com.zople.dao.utils.CollectionUtil;
import com.zople.domain.TblEnterpriseContact;
import com.zople.domain.basic.UserInfo;
import java.util.List;
imp... |
70943583-8d5f-4b36-b1eb-1e2e4087f7a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-27 21:38:46", "repo_name": "FRC5113/2019-Robot-Java-Postseason", "sub_path": "/src/main/java/frc/robot/subsystems/CargoIntake.java", "file_name": "CargoIntake.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/FRC5113/2019-Robot-Java-Postseason | 309 | FILENAME: CargoIntake.java | 0.277473 | package frc.robot.subsystems;
import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
import edu.wpi.first.wpilibj.command.Subsystem;
import frc.robot.RobotMap;
public class CargoIntake extends Subsystem {
private WPI_Ta... |
602dae3e-a641-4b34-8a25-f8af3d1b695f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-11 15:02:59", "repo_name": "bakic/library-service-provider-example", "sub_path": "/standard-library/src/main/java/org/library/StandardLibrary.java", "file_name": "StandardLibrary.java", "file_ext": "java", "fi... | https://github.com/bakic/library-service-provider-example | 233 | FILENAME: StandardLibrary.java | 0.274351 | package org.library;
import java.util.Map;
import java.util.TreeMap;
import org.library.spi.Book;
import org.library.spi.Library;
public class StandardLibrary implements Library {
private final Map<String, Book> books;
public StandardLibrary() {
books = new TreeMap<>();
Book nineteenEightyF... |
4aff2893-d88f-4be7-b21f-d284da4a521a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-14 17:38:09", "repo_name": "Kessler1459/Udee", "sub_path": "/src/main/java/com/Udee/models/Address.java", "file_name": "Address.java", "file_ext": "java", "file_size_in_byte": 1082, "line_count": 47, "lang": "... | https://github.com/Kessler1459/Udee | 239 | FILENAME: Address.java | 0.27513 | package com.Udee.models;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
@Entity
@Getter
@Setter
@ToString
@AllArgsConst... |
0968bd8d-b99e-4d95-bcf9-228e43e0107a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-22 07:24:55", "repo_name": "liuziyingbeidou/deelkall", "sub_path": "/fuzhuang/src/service/basedoc/BaseDocService.java", "file_name": "BaseDocService.java", "file_ext": "java", "file_size_in_byte": 1170, "line_... | https://github.com/liuziyingbeidou/deelkall | 253 | FILENAME: BaseDocService.java | 0.290981 | package service.basedoc;
import itf.pub.IConstant;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServletResponse;
import model.basedoc.BaseDocVO;
import org.apache.struts2.ServletActionContext;
import org.springframework.beans.factory.annotation.Autowired;
impor... |
decb39d1-ddd3-4b18-a1ab-121c6371e720 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-20 15:08:29", "repo_name": "Allen1211/minispring", "sub_path": "/MiniSpring-Ioc/src/main/java/com/allen/minispring/factory/XmlBeanFactory.java", "file_name": "XmlBeanFactory.java", "file_ext": "java", "file_si... | https://github.com/Allen1211/minispring | 237 | FILENAME: XmlBeanFactory.java | 0.287768 | package com.allen.minispring.factory;
import com.allen.minispring.exception.BeanDefinitionReadException;
import com.allen.minispring.io.ClassPathResource;
import com.allen.minispring.io.Resource;
/**
* @ClassName XmlBeanFactory
* @Description DefaultBeanFactory的子类,基于XML配置文件建立Bean工厂
* @Author XianChuLun
* @Date 20... |
b6cd7604-d4d2-4a0f-8b3f-661bcf8f67aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-22 13:53:44", "repo_name": "fathurrohmane/Pop-Movie", "sub_path": "/app/src/main/java/com/elkusnandi/popularmovie/data/model/RequestSessionIdRespond.java", "file_name": "RequestSessionIdRespond.java", "file_ex... | https://github.com/fathurrohmane/Pop-Movie | 248 | FILENAME: RequestSessionIdRespond.java | 0.216012 | package com.elkusnandi.popularmovie.data.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Taruna 98 on 31/12/2017.
*/
public class RequestSessionIdRespond {
@SerializedName("success")
@Expose
private Boolean success;
@SerializedN... |
f550f02c-4029-4418-957f-d8018c0bb04e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-23 09:23:38", "repo_name": "neoteric-eu/neo-starters", "sub_path": "/request-parameters/src/main/java/eu/neoteric/starter/request/RequestField.java", "file_name": "RequestField.java", "file_ext": "java", "file... | https://github.com/neoteric-eu/neo-starters | 203 | FILENAME: RequestField.java | 0.243642 | package eu.neoteric.starter.request;
import java.util.Objects;
public class RequestField implements RequestObject {
private final String fieldName;
private RequestField(String fieldName) {
this.fieldName = fieldName;
}
public static RequestField of(String fieldName) {
return new Req... |
4a6b88cc-98d3-4260-8451-77c824989af9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-20 20:20:06", "repo_name": "egierski/CourseSchedulerApplication", "sub_path": "/src/edu/bsu/nicegierski/CourseOffering.java", "file_name": "CourseOffering.java", "file_ext": "java", "file_size_in_byte": 1112, ... | https://github.com/egierski/CourseSchedulerApplication | 214 | FILENAME: CourseOffering.java | 0.259826 | package edu.bsu.nicegierski;
public class CourseOffering {
private final String title;
private final String number;
private final String crn;
private final String section;
public CourseOffering(Builder builder){
this.title = builder.title;
this.number = builder.number;
this.... |
f790aa7d-bd09-4d22-972d-2c62219627d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 23:37:59", "repo_name": "jmverneri/Laboratorio-3", "sub_path": "/Guia 2/src/com/utn/ej2/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1127, "line_count": 59, "lang": "en... | https://github.com/jmverneri/Laboratorio-3 | 249 | FILENAME: Client.java | 0.228156 | package com.utn.ej2;
import java.util.Random;
import java.util.UUID;
public class Client {
private UUID id;
private String name;
private String email;
private double percentage;
public Client(){
}
public Client(String name, String email, double percentage) {
this.id= UUID.randomU... |
bd8b552e-da73-44df-a7fc-d2ff54976a27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-13 13:53:51", "repo_name": "zhubinsheng/BRVAHandRXJAVA", "sub_path": "/app/src/main/java/gdyj/tydic/com/jinlingapp/TestFragmentAdapter.java", "file_name": "TestFragmentAdapter.java", "file_ext": "java", "file_... | https://github.com/zhubinsheng/BRVAHandRXJAVA | 210 | FILENAME: TestFragmentAdapter.java | 0.235108 | package gdyj.tydic.com.jinlingapp;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import java.util.List;
// 1.创建Adapter
public class TestFragmentAdapter extends FragmentPagerAdapter {
// 用来添加Fragment
private List<Frag... |
fe93c1a3-be1d-46b7-b2cd-c7085d8c85aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-30 14:45:46", "repo_name": "DungltAPV/ChatOn", "sub_path": "/app/src/main/java/com/lethdz/onlinechatdemo/modal/RoomMessage.java", "file_name": "RoomMessage.java", "file_ext": "java", "file_size_in_byte": 1034,... | https://github.com/DungltAPV/ChatOn | 212 | FILENAME: RoomMessage.java | 0.200558 | package com.lethdz.onlinechatdemo.modal;
import com.google.firebase.Timestamp;
public class RoomMessage {
private String id;
private String owner;
private String message;
private Timestamp timeStamp;
public RoomMessage() {
}
public RoomMessage(String id, String owner, String message, Tim... |
c044ae4f-2b4a-4084-97d3-e7dc61aa3b8a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-26 15:07:43", "repo_name": "Parism/hotel_app", "sub_path": "/app/src/main/java/com/example/hotel/OpenPhotoActivity.java", "file_name": "OpenPhotoActivity.java", "file_ext": "java", "file_size_in_byte": 972, "l... | https://github.com/Parism/hotel_app | 165 | FILENAME: OpenPhotoActivity.java | 0.226784 | package com.example.hotel;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.Drawable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
public class OpenPhotoActivity extends AppCompatActivity {
@Over... |
b990392a-40f9-4b55-8dbd-a6d6f3ff2cff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-10-30T21:50:17", "repo_name": "Pavan47Rao/JS-with-AJAX-calls", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1088, "line_count": 31, "lang": "en", "doc_type": "tex... | https://github.com/Pavan47Rao/JS-with-AJAX-calls | 280 | FILENAME: README.md | 0.285372 | # Stalk the Stock
## PROJECT DESCRIPTION:
Fetch the stock details of snapchat, twitter and vodafone upon user request from text box and display the details in a table
## MOTIVATION:
1. The goal of this assignment is to learn about JavaScript.
2. Use fetch api/XHR requests to make ajax call to the server and handle re... |
c622bb2f-c883-4947-9fb0-eb633d5a49ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-09 05:04:17", "repo_name": "luvsword/del4u", "sub_path": "/app/src/main/java/com/kaist/delforyou/activity/ListItem.java", "file_name": "ListItem.java", "file_ext": "java", "file_size_in_byte": 1101, "line_coun... | https://github.com/luvsword/del4u | 229 | FILENAME: ListItem.java | 0.224055 | package com.kaist.delforyou.activity;
/**
* Created by birmjin.in on 2016. 8. 7..
*/
public class ListItem {
private String date;
private String dayOfWeek;
private String itemDescription;
private String personInfo;
private String deliveryStatus;
private String shippingLocation;
public Li... |
810694c1-a8b3-4690-a1e3-34bb6d0d8015 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-23 15:45:11", "repo_name": "JakubPetr/ebean", "sub_path": "/src/test/java/org/tests/transaction/TestBeginTransactionWithExisting.java", "file_name": "TestBeginTransactionWithExisting.java", "file_ext": "java",... | https://github.com/JakubPetr/ebean | 234 | FILENAME: TestBeginTransactionWithExisting.java | 0.286968 | package org.tests.transaction;
import io.ebean.BaseTestCase;
import io.ebean.Ebean;
import io.ebean.Transaction;
import io.ebean.annotation.TxIsolation;
import org.junit.Test;
import javax.persistence.PersistenceException;
import java.sql.Connection;
import static org.junit.Assert.assertEquals;
import static org.jun... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.