id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
f55a279b-579a-4811-9437-87958d6a2e31
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-30 09:42:00", "repo_name": "xeonye/ily", "sub_path": "/src/main/java/com/aibank/spm/sys/mvc/admin/workflow/rest/ProcessInstanceDiagramLayoutResource.java", "file_name": "ProcessInstanceDiagramLayoutResource.ja...
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
953be19a-7926-4e31-9ea6-747b26c0edf7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-19 18:54:59", "repo_name": "morosanag/OCPP-Project", "sub_path": "/OCPP_Interface_Websocket_REST/src/java/com/offnet/ocpp/controllerS/GetDiagnosticsController.java", "file_name": "GetDiagnosticsController.java...
/* * 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.offnet.ocpp.controllerS; import com.offnet.ocpp.client.Client; import com.offnet.ocpp.request.GetDiagnosticsRequest; impor...
6d2a9860-bba9-4708-a73a-fc2af3487d7d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-29 09:51:42", "repo_name": "otimoshe/java_school", "sub_path": "/src/main/java/com/tsystems/railway/DTO/AddRouteForm.java", "file_name": "AddRouteForm.java", "file_ext": "java", "file_size_in_byte": 952, "line...
package com.tsystems.railway.DTO; import java.math.BigDecimal; import java.util.ArrayList; public class AddRouteForm { private String name; private BigDecimal price; private ArrayList<String> pathIds; private int firstStationId; public String getName() { return name; } public vo...
fc4b83ba-9a86-413a-bb29-57b3c28419ad
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 12:35:06", "repo_name": "MaCoredroid/online-book-store-backend", "sub_path": "/src/main/java/com/macoredroid/onlinebookstore/CustomerizedLogger.java", "file_name": "CustomerizedLogger.java", "file_ext": "ja...
package com.macoredroid.onlinebookstore; import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Component; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.nio.file.StandardOpenOption; import java.util.concurrent.atomic.A...
e2c5d3f0-af56-47ba-bb41-85e215f09737
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-01 19:35:35", "repo_name": "luizgustavoss/exemplos_aula_ejb", "sub_path": "/ExemploNove/ejbModule/tnt/exemplo/TopicMessageBean.java", "file_name": "TopicMessageBean.java", "file_ext": "java", "file_size_in_byt...
package tnt.exemplo; import javax.ejb.ActivationConfigProperty; import javax.ejb.EJB; import javax.ejb.MessageDriven; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; @MessageDriven(activationConfig = { @ActivationConfigProperty(...
872bf1f8-6b9e-4798-8c66-66708c71bdf8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-30T06:34:25", "repo_name": "alpagor/corona_app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 954, "line_count": 32, "lang": "en", "doc_type": "text", "blob_id...
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). ## Description This app will allow the user to track in real time the evolution of the COVID-19 all over the world. It has been built following the YouTube tutorial of JavaScript Mastery (https://www.youtube.com/wat...
43f7efe4-53ef-4ff2-96cb-e27cce77605c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-04 22:55:01", "repo_name": "SamuellMS/Mobile", "sub_path": "/AdroidTest/app/src/main/java/br/iesb/adroidtest/LoginActivity.java", "file_name": "LoginActivity.java", "file_ext": "java", "file_size_in_byte": 952...
package br.iesb.adroidtest; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class LoginActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
72c888f6-6bac-4fd6-9b64-4f4f6bb330bb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-28T22:55:10", "repo_name": "ithaca-comp-345/345-project01-bank-ces", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 952, "line_count": 27, "lang": "en", "doc_typ...
# 345-project01-bank-ces 345-project01-bank-ces created by GitHub Classroom Use Cases checkBalance, withdraw, deposit First Class ATM Diagrams: https://drive.google.com/file/d/1aIJALxgnocfWLP0THEH5rjmHRWtgH5QS/view?usp=sharing User Test Script: https://docs.google.com/document/d/13w3LTGnA7in3ybQhJhLr9YPD18cFySh1...
a796a3f3-3211-4025-8b60-d7c574f3f6e5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-14 18:42:47", "repo_name": "mariotinelli/UENP", "sub_path": "/LinguagensProg/src/ExThread/Principal.java", "file_name": "Principal.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 40, "lang":...
/* * 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 ExThread; /** * * @author Mario */ public class Principal { public static void main(String[] args) { ...
632ade58-513f-437b-bf3e-bcde2b0a2dcf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-07 08:16:03", "repo_name": "myloveGy/java-study", "sub_path": "/demo/src/test/java/com/demo/my/dao/impl/AccountDaoImplTest.java", "file_name": "AccountDaoImplTest.java", "file_ext": "java", "file_size_in_byte"...
package com.demo.my.dao.impl; import com.demo.my.config.SpringConfiguration; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; ...
2e044d1e-6ab1-478a-8476-b058e308e590
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-31 08:49:32", "repo_name": "EnderQIU/bcinvest", "sub_path": "/src/main/java/cn/enderqiu/bcinvestrebuild/app/GuarantyManagement/entity/vo/HouseVO.java", "file_name": "HouseVO.java", "file_ext": "java", "file_si...
package cn.enderqiu.bcinvestrebuild.app.GuarantyManagement.entity.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @ApiModel public class HouseVO extends GuarantyVO{ @ApiModelProperty(value = "地址" ,required = true) private String addr; @ApiModelProperty(value = "...
fd0aa416-f225-4285-89d4-3e353c0d0a0b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-25 07:02:01", "repo_name": "LaptopWorldAndroid/PetShop", "sub_path": "/app/src/main/java/com/example/petshop/Class/Category.java", "file_name": "Category.java", "file_ext": "java", "file_size_in_byte": 951, "l...
package com.example.petshop.Class; import java.util.Map; public class Category { private String idCategory; private String nameCategory; private String imageCategory; public Category(){} public Category(String idCategory, String nameCategory, String imageCategory) { this.idCategory = id...
6cd127ef-55a7-482d-993f-0609e31936b5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-04 05:16:57", "repo_name": "effad/rtefx", "sub_path": "/src/main/java/org/rtefx/OTestRTEView.java", "file_name": "OTestRTEView.java", "file_ext": "java", "file_size_in_byte": 952, "line_count": 35, "lang": "en...
package org.rtefx; import javafx.application.Application; import javafx.application.Platform; import javafx.scene.Scene; import javafx.scene.layout.VBox; import javafx.scene.paint.Color; import javafx.stage.Stage; public class OTestRTEView extends Application { @Override public void start(Stage stage) throw...
bb7ccb23-57f4-491a-89d6-1731f2739ca5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-10 16:49:00", "repo_name": "nataliia-zarudna/ShoppingList", "sub_path": "/app/src/main/java/com/nzarudna/shoppinglist/ui/productlist/edit/EditProductListViewModel.java", "file_name": "EditProductListViewModel....
package com.nzarudna.shoppinglist.ui.productlist.edit; import android.support.annotation.Nullable; import android.util.Log; import com.nzarudna.shoppinglist.model.AsyncResultListener; import com.nzarudna.shoppinglist.model.product.Product; import com.nzarudna.shoppinglist.ui.productlist.ProductListViewModel; /** * ...
d3ec8da4-cf81-4fe3-8995-b572d38884f7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-17 00:12:26", "repo_name": "n0misain/6-1_source_from_JADX", "sub_path": "/sources/com/cranevalley/dontendword/features/shared/AppMessagingService.java", "file_name": "AppMessagingService.java", "file_ext": "ja...
package com.cranevalley.dontendword.features.shared; import android.os.Handler; import android.os.Looper; import android.widget.Toast; import com.google.firebase.messaging.FirebaseMessagingService; import com.google.firebase.messaging.RemoteMessage; import com.orhanobut.logger.Logger; public class AppMessagingService...
1c35aefc-7244-4e06-bffe-6e7f94c6201c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 08:58:50", "repo_name": "T-Asolution/tasquare", "sub_path": "/TASquare/src/main/java/com/tasolution/tasquare/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byt...
package com.tasolution.tasquare.service; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.web.servlet.ModelAndView; import com.tasolution.tasquare.model.dao.UserInfoRepository; impo...
45ccad9e-4686-4192-bbde-d962563046af
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-05 11:14:07", "repo_name": "mpirnazarov/SmartOffice", "sub_path": "/src/main/java/com/smartoffice/hr/service/users/UsersServiceImpl.java", "file_name": "UsersServiceImpl.java", "file_ext": "java", "file_size_i...
package com.smartoffice.hr.service.users; import com.smartoffice.hr.mappers.UsersMapper; import com.smartoffice.hr.model.Users; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.uti...
a21d8abc-c7c1-4add-85bb-d8d5ac7688d4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-02 05:18:25", "repo_name": "delab-ou/routing_protocol", "sub_path": "/src/ou/ist/de/protocol/routing/isdsr/SignatureOperation.java", "file_name": "SignatureOperation.java", "file_ext": "java", "file_size_in_by...
package ou.ist.de.protocol.routing.isdsr; import java.security.MessageDigest; import java.util.HashMap; import ou.ist.de.protocol.routing.dsr.RouteInfo; public abstract class SignatureOperation { protected ISDSRKeys keys; protected SignatureOperation() { } public SignatureOperation(HashMap<String, String> ...
6c1da6f7-f13e-4a31-bb81-4d3d24737081
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-08-09T12:12:10", "repo_name": "whalehulk/cloud_miner", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 951, "line_count": 20, "lang": "en", "doc_type": "text", "blob...
# cloud_miner 1: SSH into your server for the first time and run the following commands #git clone https://github.com/joshteng/Ethereum-mining #cd Ethereum-mining/aws #chmod +x aws_p2.sh #sudo ./aws_p2.sh Just hit 'Yes' or 'Y' or ENTER every time you are prompted Once it's done, you can now terminate your SSH session...
11c841f0-984a-4200-9bd0-503e4862993c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-01 19:58:06", "repo_name": "ruchishila/JPMCTest", "sub_path": "/src/com/jpmc/test/util/MessageValidator.java", "file_name": "MessageValidator.java", "file_ext": "java", "file_size_in_byte": 951, "line_count": ...
package com.jpmc.test.util; import java.io.File; import java.io.IOException; import javax.xml.XMLConstants; import javax.xml.transform.Source; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; import javax.xml.validation.Validator; import o...
e74cfe70-9bff-436c-ba89-d3eae2fa20c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-21 13:14:55", "repo_name": "dvdb97/Turn-based-Strategy", "sub_path": "/gui_lib/implementations/TestElement.java", "file_name": "TestElement.java", "file_ext": "java", "file_size_in_byte": 951, "line_count": 31...
package implementations; import assets.meshes.geometry.Color; import fundamental.GUIElement; import gui_core.Input; import rendering.shapes.GUIShape; import rendering.shapes.implemented.GUIEllipse; import utils.ColorPalette; public class TestElement extends GUIElement { protected static final Color defaultColor = C...
14258b98-e3ab-4b29-9897-fa555dd5500e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-31T14:48:49", "repo_name": "hoaven/MedicalService", "sub_path": "/src/main/java/jplus/cherry/medicalservice/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_si...
package jplus.cherry.medicalservice.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import jplus.cherry.medicalservice.dao.UserMapper; import jplus.cherry.medicalservice.model.User; import jplus.cherry.medicalservice.service.UserService; @Se...
1c63d60d-cfa8-4d2d-a9f5-d6e8a63c3cdb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-11 06:24:33", "repo_name": "sahilsaleem2907/CertGen", "sub_path": "/app/src/main/java/com/example/myapplication25/SecondActivity.java", "file_name": "SecondActivity.java", "file_ext": "java", "file_size_in_byt...
package com.example.myapplication25; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.os.Bundle; public class SecondActivity extends AppCompatActivity { String s1[],s2[]; int images[] ={R...
bea32e53-be8f-4ba8-a5be-bc722c61baae
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-14T22:09:27", "repo_name": "raysan5/raylib", "sub_path": "/projects/CodeBlocks/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 950, "line_count": 22, "lang": "en", "doc_type": ...
# raylib template for Code::Blocks 1. Install raylib. On Windows you should install the **Windows Installer (with MinGW compiler)** package. On other platforms you can install however you like following the instructions in the wiki. * https://github.com/raysan5/raylib/releases/download/4.2.0/raylib_installer_v4...
f8f9ea32-2c47-4a78-8dd8-55187de0a12e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-21 06:25:02", "repo_name": "zemingyan/decentralize", "sub_path": "/configdeal/src/main/java/com/first/configdeal/ConfigdealApplication.java", "file_name": "ConfigdealApplication.java", "file_ext": "java", "fil...
package com.first.configdeal; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.bind.Bindable; import org.springframework.boot.context.properties.bind.Binder; import org.springframework.context.Appl...
a62e7dee-1cd2-4c3e-b089-94e2a441648b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-22 14:42:59", "repo_name": "rkalladan/inv", "sub_path": "/src/main/java/com/inv/dao/UserDaoImpl.java", "file_name": "UserDaoImpl.java", "file_ext": "java", "file_size_in_byte": 951, "line_count": 35, "lang": "...
package com.inv.dao; import java.util.ArrayList; import java.util.List; import org.hibernate.Criteria; import org.hibernate.SessionFactory; import org.hibernate.criterion.Restrictions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.inv.mode...
b4c73f34-dd66-4d1f-b720-641bbf6d0a54
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-08 23:42:21", "repo_name": "krm111/Final", "sub_path": "/src/main/java/mvc_everything/service/AlbumService.java", "file_name": "AlbumService.java", "file_ext": "java", "file_size_in_byte": 951, "line_count": 4...
package mvc_everything.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import mvc_everything.model.Album; import mvc_everything.repository.AlbumRepository; @Service public class AlbumService { @Autowired AlbumReposi...
c9a4aa8c-d943-4366-96eb-362c09e729f5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-11 05:37:58", "repo_name": "rodps/concurrenttwitter", "sub_path": "/src/main/java/concurrenttwitter/TwitterConcurrentProject.java", "file_name": "TwitterConcurrentProject.java", "file_ext": "java", "file_size_...
package concurrenttwitter; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.LinkedBlockingQueue; import twitter4j.*; public class TwitterConcurrentProject { public static void main(String[] ar...
cd993f53-7bc4-4f32-8814-bb8021dfa005
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-03 14:34:37", "repo_name": "GiverPlay007/PrimeiroPlugin", "sub_path": "/src/me/giverplay/MwRankup/comandos/ComandoConsole.java", "file_name": "ComandoConsole.java", "file_ext": "java", "file_size_in_byte": 951...
package me.giverplay.MwRankup.comandos; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import me.giverplay.MwRankup.api.API; import me.giverplay.MwRankup.api.Mensagens; public class ComandoConsole implements CommandExecu...
4f74e2c2-c27e-410a-b61a-5e9397f50ba6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-03 22:01:53", "repo_name": "asciasrl/jais", "sub_path": "/jais/trunk/src/it/ascia/ais/port/DatePort.java", "file_name": "DatePort.java", "file_ext": "java", "file_size_in_byte": 952, "line_count": 40, "lang": ...
package it.ascia.ais.port; import java.text.DateFormat; import java.text.ParseException; import java.util.Date; import it.ascia.ais.DevicePort; /** * Store java.util.Date value * @author Sergio * */ public class DatePort extends DevicePort { public DatePort(String portId) { super(portId); }...
ed6267c0-d73f-4167-bd58-2a95d9afdd27
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-23 19:35:47", "repo_name": "fbourguignon/person-service", "sub_path": "/src/main/java/com/person/domain/entities/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 951, "line_co...
package com.person.domain.entities; import com.vladmihalcea.hibernate.type.json.JsonBinaryType; import lombok.*; import org.hibernate.annotations.Type; import org.hibernate.annotations.TypeDef; import org.hibernate.annotations.TypeDefs; import javax.persistence.Column; import javax.persistence.Entity; import javax.pe...
a77291b9-ba90-4220-932d-4b03580fad05
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-21 09:46:10", "repo_name": "HTDBatchInfinite/Desigen_Patterns", "sub_path": "/DesignPatterns/src/com/ics/test/examples/dp/singleton/pattern/avoidserialization/SingletonSerialization.java", "file_name": "Single...
package com.ics.test.examples.dp.singleton.pattern.avoidserialization; import java.io.Serializable; public class SingletonSerialization implements Serializable { private static final long serialVersionUID = 1L; private static SingletonSerialization singletonClass; private SingletonSerialization() { System.ou...
db1f0d61-cf3d-407c-a333-deb6587c839a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-09 11:16:08", "repo_name": "pavel-bielichenko/audibene-coding-challenge", "sub_path": "/src/main/java/com/audibene/service/impl/ClientServiceImpl.java", "file_name": "ClientServiceImpl.java", "file_ext": "java...
package com.audibene.service.impl; import com.audibene.domain.Client; import com.audibene.repository.ClientRepository; import com.audibene.rest.dto.ClientDto; import com.audibene.service.ClientService; import com.audibene.service.GenericServiceMapperHelper; import lombok.AllArgsConstructor; import org.springframework....
6e823deb-a50c-47c8-af17-5550b0d9b348
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-04 08:55:20", "repo_name": "jinmirae/jinmirae_2", "sub_path": "/Coffeeshop/src/Order.java", "file_name": "Order.java", "file_ext": "java", "file_size_in_byte": 994, "line_count": 42, "lang": "en", "doc_type": ...
import java.util.ArrayList; import java.util.Scanner; public class Order { ArrayList<String> alMobile; ArrayList<String> alName; ArrayList<Integer> alCount; ArrayList<Integer> alTotal; Order() { alMobile=new ArrayList<String>(); alName=new ArrayList<String>(); alCount=new ArrayList<Integer>(); alTotal=n...
04da55a1-02bc-45f8-a558-c1f099c47fa2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-19 15:22:46", "repo_name": "risingprogrammer2/ably_mock_server_colt_vivi", "sub_path": "/src/main/java/com/softsquared/template/src/product/ProductImageQueryRepository.java", "file_name": "ProductImageQueryRep...
package com.softsquared.template.src.product; import com.querydsl.jpa.impl.JPAQueryFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import java.util.List; import static com.softsquared.template.DBmodel.ProductImage.ImageType.THUMBNAIL; import s...
5bbacc66-777f-43a7-bb04-45addcc87835
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-15 10:16:42", "repo_name": "AltaVista333/TestTaskCFT", "sub_path": "/src/main/java/com/company/TestTaskCFT/DataSource/Reader.java", "file_name": "Reader.java", "file_ext": "java", "file_size_in_byte": 951, "li...
package com.company.TestTaskCFT.DataSource; import java.io.*; public class Reader implements AutoCloseable { private BufferedReader reader; private String readedLine; public Reader(String sourceFile) { try { reader = new BufferedReader(new FileReader(new File(sourceFile))); }...
1e460b2a-85e7-46ca-84fd-03596c15c4f7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-11-20 00:46:54", "repo_name": "remram44/Danmaku", "sub_path": "/Danmaku/src/fr/larez/danmaku/Level.java", "file_name": "Level.java", "file_ext": "java", "file_size_in_byte": 952, "line_count": 48, "lang": "en", "...
package fr.larez.danmaku; /** * A level defines what should appear when, and the background under the scene. * * Levels are usually packages, containing a subclass of Level and the rest of * the related classes (projectiles, enemies, ...). */ public abstract class Level { private String m_Name; ...
74f9cd22-e1b7-4623-9e34-f5879130cf5c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-24 12:33:28", "repo_name": "nickwhale1004/TitanicRun", "sub_path": "/core/src/com/titanicrun/game/Objects/PlayObjects/Animation.java", "file_name": "Animation.java", "file_ext": "java", "file_size_in_byte": 95...
package com.titanicrun.game.Objects.PlayObjects; import com.badlogic.gdx.graphics.Texture; /** * Created by Никита on 28.01.2016. */ public class Animation { private Texture[] textures; private int textureID; private int speed; private int currentFrame; public Animation(Texture[] textures, int s...
f52d3484-86ad-43e1-963e-6b05057ee0e6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-05 06:12:32", "repo_name": "p1ho/SurfaceViewTest", "sub_path": "/app/src/main/java/com/example/student/surfaceviewtest/my_callBack.java", "file_name": "my_callBack.java", "file_ext": "java", "file_size_in_byte...
package com.example.student.surfaceviewtest; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Paint; import android.view.SurfaceHolder; /** * Created by student on 2016/9/30. */ public class my_callBack implements SurfaceHolder.Callback { MainActivity app; pu...
9e9e5f39-2924-46a4-b3ae-b46836cfd402
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-12 22:16:49", "repo_name": "alexperez52/TextEditorV3", "sub_path": "/PerezMendoza_CSE218FinalProject/src/utils/DataHandler.java", "file_name": "DataHandler.java", "file_ext": "java", "file_size_in_byte": 952, ...
package utils; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintStream; import java.io.PrintWriter; import java.util.Scanner; import model.TextEditorPane; public class DataHandler { public static String readData(File file) { StringBui...
13733a64-abd0-451b-863d-efa6fb491d8c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-03 08:27:20", "repo_name": "aadibugalia/Basics", "sub_path": "/MVPDemo/app/src/main/java/mvplogin/demo/ab/mvpdemo/mvp/model/login/LoginModel.java", "file_name": "LoginModel.java", "file_ext": "java", "file_siz...
package mvplogin.demo.ab.mvpdemo.mvp.model.login; import android.os.Parcel; import android.os.Parcelable; import mvplogin.demo.ab.mvpdemo.auxillary.ResultCodes; import mvplogin.demo.ab.mvpdemo.auxillary.ValidationUtils; public class LoginModel implements ILoginModel { private String mEmail, mPassword; pub...
94bd47d1-5014-451d-80ee-f9810ebc0542
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-07 08:40:06", "repo_name": "CelebrateG/jetpackDemo", "sub_path": "/app/src/main/java/com/gq/jetpackdemo/databinding/TwoWayBindingViewModel.java", "file_name": "TwoWayBindingViewModel.java", "file_ext": "java",...
package com.gq.jetpackdemo.databinding; import android.text.TextUtils; import androidx.databinding.BaseObservable; import androidx.databinding.Bindable; import com.gq.jetpackdemo.BR; /** * 双向绑定,观察者模式实现 */ public class TwoWayBindingViewModel extends BaseObservable { private LoginModel loginModel; public T...
3ceb99aa-6814-4824-9b21-8895c7ca7dbe
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-24 06:41:10", "repo_name": "vicenteortegatorres/java", "sub_path": "/SpringMysqlDockerIntegrationTests/src/test/java/com/example/repository/UserRepositoryIT.java", "file_name": "UserRepositoryIT.java", "file_e...
package com.example.repository; import com.example.Application; import com.example.domain.User; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.SpringApplica...
16ea5600-7684-4d62-bf82-9ab0e99c34aa
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-03 11:19:35", "repo_name": "Shenor/GoodCourses", "sub_path": "/src/main/java/net/os/goodcourses/component/impl/NotificationContentResolverImpl.java", "file_name": "NotificationContentResolverImpl.java", "file_...
package net.os.goodcourses.component.impl; import java.io.IOException; import java.io.StringReader; import net.os.goodcourses.component.NotificationContentResolver; import org.springframework.stereotype.Component; import org.springframework.ui.freemarker.FreeMarkerTemplateUtils; import freemarker.template.Configurat...
fbf5a471-4090-48e3-93be-a2445511bc4e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-18 13:39:45", "repo_name": "devMonkey87/springRawMVC", "sub_path": "/src/main/java/com/atos/JPA_Artesanal/service/impl/CustomerServiceImpl.java", "file_name": "CustomerServiceImpl.java", "file_ext": "java", "f...
package com.atos.JPA_Artesanal.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.atos.JPA_Artesanal.dao.CustomerDao; import com.atos.JPA_Artesanal.entities.Customer; import com.atos.JPA_Artesanal.serv...
5b4a8e87-420a-4ee1-bc86-ef7737964bd6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-11 11:12:43", "repo_name": "Predictia/spring-boot-autoconfigure-wro4j", "sub_path": "/src/main/java/de/infinit/spring/boot/autoconfigure/wro4j/XmlWroManagerFactory.java", "file_name": "XmlWroManagerFactory.jav...
package de.infinit.spring.boot.autoconfigure.wro4j; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import org.springframework.core.io.ClassPathResource; import ro.isdc.wro.model.factory.WroModelFactory; import ro.isdc.wro.model.factory.XmlModelFactory; /** * Allows the usage o...
0247686a-11d5-4b28-ad6f-6727a7f74c93
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-16 23:11:35", "repo_name": "mateolis03/LaboratorioJSP", "sub_path": "/LaboratorioJSP-war/src/java/co/edu/unipiloto/eventHandler.java", "file_name": "eventHandler.java", "file_ext": "java", "file_size_in_byte":...
/* * 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 co.edu.unipiloto; import java.text.ParseException; import java.time.LocalDate; import java.time.Period; /** * * @author mat...
75a389a7-f4c1-477a-b46e-3f2698ccdfb1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-07 10:17:40", "repo_name": "navikt/tortuga-hoi", "sub_path": "/src/main/java/no/nav/opptjening/hoi/AuthenticationFromEnv.java", "file_name": "AuthenticationFromEnv.java", "file_ext": "java", "file_size_in_byte...
package no.nav.opptjening.hoi; import no.nav.opptjening.skatt.client.api.AuthenticationHeader; import java.util.Map; public class AuthenticationFromEnv implements AuthenticationHeader { private static final String beregnetSkattApiKey = "BEREGNETSKATT_API_KEY"; private static final String summertSkattegrunnl...
cc54a56c-995e-4731-8467-8a1ba8d8c4b2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-28 07:09:24", "repo_name": "fulmicoton/multiregexp", "sub_path": "/src/main/java/com/fulmicoton/multiregexp/Token.java", "file_name": "Token.java", "file_ext": "java", "file_size_in_byte": 951, "line_count": 4...
package com.fulmicoton.multiregexp; public class Token<T> { public final T type; public final String str; public Token(T type, String str) { this.type = type; this.str = str; } public static <T extends Enum> Token<T> fromScanner(Scanner<T> scanner) { return new Token<>(sc...
6b0b5222-fc02-44c0-abc7-7f36826b3f2e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-27 23:42:04", "repo_name": "Sarojkswain/APMAutomation", "sub_path": "/fld/logmonitor-config/src/main/java/com/ca/apm/systemtest/fld/logmonitor/config/OrCondition.java", "file_name": "OrCondition.java", "file_e...
/** * */ package com.ca.apm.systemtest.fld.logmonitor.config; import com.ca.apm.systemtest.fld.common.ErrorUtils; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; /** * @author keyja01 */ @JsonInclude(Include.ALWAYS) public class OrCondition exten...
0e1ed97b-afbb-4368-844d-3f06275953b1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-13 12:43:47", "repo_name": "annakhuseinova/spring-cloud-streams", "sub_path": "/src/main/java/com/annakhuseinova/springcloudstreams/kafka/json/controller/KafkaMessageController.java", "file_name": "KafkaMessag...
package com.annakhuseinova.springcloudstreams.kafka.json.controller; import com.annakhuseinova.springcloudstreams.kafka.json.dto.IncomingMessage; import com.annakhuseinova.springcloudstreams.kafka.json.service.KafkaProducerService; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.P...
88418ba4-76c7-4c84-bc99-b8b07f6e9d37
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-14T14:04:36", "repo_name": "punk4eva/Tavernspiel", "sub_path": "/CONTRIBUTING.md", "file_name": "CONTRIBUTING.md", "file_ext": "md", "file_size_in_byte": 951, "line_count": 20, "lang": "en", "doc_type": "t...
JAVADOC GUIDELINES: 1) Always write javadocs for class, enum, annotation and interface declaration. 2) Only class declarations require @author tags. 3) Always write javadocs for initializers. 4) You may skip method javadocs if: -They are inaccessible outside of the class. -They are method declarations in an in...
f8310fc0-8f8e-4ab4-adeb-7b203dbfda3c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-17 06:28:34", "repo_name": "gkgkworhkd/RecordeApp", "sub_path": "/app/src/main/java/com/sds/study/recordeapp/page/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": ...
package com.sds.study.recordeapp.page; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import com.sds.study.recordeapp.R; public class MainActivity extends AppCompatActivity { ViewPager viewPager; MyAdapter myAdapt...
14ed961b-cf07-4d85-850e-28b590e9667d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-08T15:38:00", "repo_name": "hussein-joe/confluent-health-plus-sample", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 953, "line_count": 20, "lang": "en", "doc_t...
# Kafka platform with Health+ configurations Kafka platform with a Kafka cluster of 3 brokers. The brokers are configured with Health+ configurations. ## Start locally To start the services locally, you need to get the API access key/secrets for Health+. Follow these steps to start locally. * Confluent Cloud signup...
f78879db-1e09-4f49-b87a-2b212e5fa691
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-16 13:44:24", "repo_name": "victorsirena/Gerador-de-Escopo", "sub_path": "/gerador-escopo/src/main/java/br/com/prodama/util/componentes/Total.java", "file_name": "Total.java", "file_ext": "java", "file_size_in...
package br.com.prodama.util.componentes; import java.math.BigDecimal; public class Total { private Long codigo; private BigDecimal total; public Long getCodigo() { return codigo; } public void setCodigo(Long codigo) { this.codigo = codigo; } public BigDecimal getTotal() { return total; ...
ef9b2ef0-ed32-47b4-9e1d-950a950c48fe
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-05-02 22:21:54", "repo_name": "lane-maxwell/examples", "sub_path": "/MapBean/src/main/java/com/terrafirmaeng/configuration/SpringConfiguration.java", "file_name": "SpringConfiguration.java", "file_ext": "java", "...
package com.terrafirmaeng.configuration; import com.terrafirmaeng.components.Handler; import com.terrafirmaeng.components.MessageType; import java.util.HashMap; import java.util.Map; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.co...
7d36f14c-3a8d-415b-a010-1737bf5fd0cf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-24 09:07:22", "repo_name": "jhoeyctian/JavaSEConcurrency", "sub_path": "/src/main/java/com/ctianjhoey/javase/concurrency/runnable/UserRunnable.java", "file_name": "UserRunnable.java", "file_ext": "java", "file...
package com.ctianjhoey.javase.concurrency.runnable; import java.util.StringTokenizer; import java.util.concurrent.Callable; import com.ctianjhoey.javase.concurrency.bean.User; import com.ctianjhoey.javase.concurrency.dao.UserDao; public class UserRunnable implements Callable<Integer> { private String userRecord; ...
539b08f4-6858-489c-98d9-d265d4afe139
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-27 11:04:44", "repo_name": "folio-org/folio-service-tools", "sub_path": "/folio-service-tools-test/src/main/java/org/folio/test/junit/vertx/MVertxUnitRunner.java", "file_name": "MVertxUnitRunner.java", "file_e...
package org.folio.test.junit.vertx; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import org.junit.runners.model.FrameworkMethod; import org.junit.runners.model.InitializationError; public cla...
2b4b2f98-e5c6-451b-9132-5222b649e3ed
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-25 06:45:50", "repo_name": "NehaRege/VideoList_MVP_RxJava", "sub_path": "/app/src/main/java/android/example/com/boguscode/data/dataSource/remote/RemoteDataSourceImpl.java", "file_name": "RemoteDataSourceImpl.j...
package android.example.com.boguscode.data.dataSource.remote; import android.example.com.boguscode.api.ApiNetworkService; import android.example.com.boguscode.api.NetworkClient; import android.example.com.boguscode.utils.Constants; import io.reactivex.Observable; import io.reactivex.android.schedulers.AndroidSchedule...
d0089731-875c-47be-8124-35f92e4aabae
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-16 14:23:27", "repo_name": "bjblei/SpringBootDemo", "sub_path": "/src/main/java/com/vergilyn/demo/springboot/jsm/activemq/queue/ActivemqQueueProducer.java", "file_name": "ActivemqQueueProducer.java", "file_ext...
package com.vergilyn.demo.springboot.jsm.activemq.queue; import java.util.Map; import javax.jms.Queue; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.jms.core.JmsMessagingTemplate; import org.springframework.ster...
acc28d96-6f75-4419-a2d0-0f899cd7b959
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-18 10:01:19", "repo_name": "scych777/Xmonitor", "sub_path": "/app/src/main/java/com/kelvin/xmonitor/VideoPlayer.java", "file_name": "VideoPlayer.java", "file_ext": "java", "file_size_in_byte": 951, "line_count...
package com.kelvin.xmonitor; import android.app.Activity; import android.content.Intent; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.view.View; import android.widget.Button; /** * Created by kelvin young on 08/12/2017. */ public c...
0e6e2ad4-269e-4095-a4e7-eb13e4bbf3a4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-30 16:07:02", "repo_name": "segunfrancis/Baking-Time", "sub_path": "/app/src/main/java/com/project/segunfrancis/bakingtime/ui/SharedViewModel.java", "file_name": "SharedViewModel.java", "file_ext": "java", "fi...
package com.project.segunfrancis.bakingtime.ui; import com.project.segunfrancis.bakingtime.model.Recipe; import com.project.segunfrancis.bakingtime.model.Step; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; /** * Created by SegunFrancis */ public...
3bbb8959-76d4-420d-ae9c-c67d36d294d7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-31 14:56:49", "repo_name": "JJOGGER/Peephole", "sub_path": "/app/src/main/java/cn/jcyh/peephole/receiver/BootBroadcastReceiver.java", "file_name": "BootBroadcastReceiver.java", "file_ext": "java", "file_size_i...
package cn.jcyh.peephole.receiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.wifi.WifiManager; import android.text.TextUtils; import cn.jcyh.peephole.MainActivity; public class BootBroadcastReceiver extends BroadcastReceiver { @Ove...
0924bb68-b60b-4ff6-9009-408977773812
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-01 04:15:03", "repo_name": "zengsn/mailim", "sub_path": "/src/translatorspace/cn/sunibas/util/StaticObject.java", "file_name": "StaticObject.java", "file_ext": "java", "file_size_in_byte": 952, "line_count": 3...
package cn.sunibas.util; import cn.sunibas.entity.TSLanguage; import cn.sunibas.service.ITSLanguageService; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by Administrator on 2017/2/15. */ public class StaticObject { private static ITSLanguageService itsLangua...
3eb140c5-3a0d-4a83-a38c-089c95eb80f2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-30T06:27:33", "repo_name": "p2kmgcl/chachi-shell", "sub_path": "/home/.config/tmux/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 950, "line_count": 37, "lang": "en", "doc_typ...
# tmux ## Keybindings ### Creating sessions - `<prefix>c` New window. - `<prefix>|` Split window vertically. - `<prefix>-` Split window horizontally. ### Motion - `<prefix>p` Go to previous window. - `<prefix>n` Go to next window. - `<prefix>0123456789` Move to the corresponding window. - `<Ctrl>hjkl` Move to the ...
6bcf7922-256e-4d28-882d-bfe0091ec84f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-24 14:32:02", "repo_name": "scottygrondin/BanqProxi_Imane_Stephane", "sub_path": "/src/main/java/org/gestion/persistance/TestClientPersist.java", "file_name": "TestClientPersist.java", "file_ext": "java", "fil...
package org.gestion.persistance; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax.persistence.Persistence; import org.gestion.model.Client; /** * @auteurs Imane et Stéphane * Test classique de persistance */ public cla...
e83dc49c-6e0c-4527-ba48-da2c9e850d3b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-29 22:02:15", "repo_name": "DavidZemon/CrewCallerKata_Intellij", "sub_path": "/src/main/java/com/uprr/training/pojos/Dates.java", "file_name": "Dates.java", "file_ext": "java", "file_size_in_byte": 950, "line_...
package com.uprr.training.pojos; /** * Created by igen006 on 4/21/2014. */ public class Dates { private int id; private Double date; public int getId() { return id; } public void setId(int id) { this.id = id; } public Double getDate() { return date; } ...
f6db0e42-0705-4d07-bf30-74ee4a973dc8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-22 09:23:56", "repo_name": "Nillouise/J2EE", "sub_path": "/jspForum/src/main/java/filter/Fsetencoding.java", "file_name": "Fsetencoding.java", "file_ext": "java", "file_size_in_byte": 1004, "line_count": 38, "...
package filter; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * Created by win7x64 on 2017/7/3. */ @WebFilter(filterName = "Fsetencoding",urlPatterns = {"/*"}) public cla...
1c5887bf-f25d-4415-b110-2b88f64a0096
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-20 02:42:48", "repo_name": "hehelihua/JavaSelenium", "sub_path": "/springBootTest/src/test/java/com/example/springBootTest/user/NewTest.java", "file_name": "NewTest.java", "file_ext": "java", "file_size_in_byt...
package com.example.springBootTest.user; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.List; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.Test; import com.example.springBootTest.unit...
e7d04aaf-944a-43ba-bfb0-e02b2194e70d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-29 14:11:07", "repo_name": "christianmsbrito/quizz-poo", "sub_path": "/Quizz/src/java/classes/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 951, "line_count": 52, "lang": "en",...
package classes; import interfaces.Persistable; /* * 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. */ /** * * @author Christian */ public class User implements Persist...
981ee982-91ba-4050-8fa7-5b64de445fce
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-08 14:14:07", "repo_name": "linjiazhen/ecssboot", "sub_path": "/src/main/java/com/wintoo/controller/BaseController.java", "file_name": "BaseController.java", "file_ext": "java", "file_size_in_byte": 950, "line...
package com.wintoo.controller; import org.springframework.beans.propertyeditors.CustomDateEditor; import org.springframework.web.bind.ServletRequestDataBinder; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.InitBinder; import javax.servlet.http.HttpServ...
4d51810b-0797-45d8-bcfd-66a27596baa7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-12 02:44:12", "repo_name": "Johzeal/Forwork", "sub_path": "/Forwork/app/src/main/java/com/example/zhujiaxiang/forwork/foot/HealthActivity.java", "file_name": "HealthActivity.java", "file_ext": "java", "file_si...
package com.example.zhujiaxiang.forwork.foot; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.webkit.WebView; import android.webkit.WebViewClient; import com.example.zhujiaxiang.forwork.R; /** * Created by zhujiaxiang on 18/3/8. ...
3158b924-9177-4730-9cc0-ded3e0a1a5db
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-06 10:29:05", "repo_name": "j4mt/project-manager-app", "sub_path": "/src/main/java/org/jor/productinventory/business/Entity.java", "file_name": "Entity.java", "file_ext": "java", "file_size_in_byte": 950, "lin...
package org.jor.productinventory.business; /** * Created by j4mt on 04/07/16. * * @param <T> the type parameter */ public abstract class Entity<T> { private T identifier; /** * Instantiates a new Entity. * * @param identifier the identifier */ public Entity(T identifier) { ...
bfd78aee-12e0-41ae-b361-919506ed873c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-04-28T21:02:26", "repo_name": "rolandbaer/embedded", "sub_path": "/Lolin_1/dht_webserver/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 950, "line_count": 26, "lang": "en", "doc_...
# webserver on the Wemos Lolin D1 mini This programm runs a webserver on the Wemos Lolin D1 mini providing the temperature and humidity measured by a DHT-11. Copy `credentials.h.sample` to `credentials.h` and change the ssid and password to your WiFi network credentials. See my blog post (in German) for [more infor...
71f1fbbf-6922-42a4-9d13-c8c8363fe2a0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-27 11:05:19", "repo_name": "AuntC/RealmTest", "sub_path": "/app/src/main/java/com/example/guocheng/realm/RealmApplication.java", "file_name": "RealmApplication.java", "file_ext": "java", "file_size_in_byte": 9...
package com.example.guocheng.realm; import android.app.Application; import android.content.Context; import com.facebook.stetho.Stetho; import com.uphyca.stetho_realm.RealmInspectorModulesProvider; import io.realm.Realm; import io.realm.RealmConfiguration; /** * Created by guocheng on 16-7-26. */ public class Real...
33cd5302-c878-46d1-9ff9-a825681dde24
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-13T23:50:40", "repo_name": "namack75/mangafeed", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 951, "line_count": 23, "lang": "en", "doc_type": "text", "blob_id...
Mangafeed is a Manga reader for Android that tries to have the same features as Manga Watcher, but being Open Source. [![latest debug build](https://img.shields.io/badge/download-latest%20debug%20build-brightgreen.svg)](http://mangafeed.kanade.eu/latest/app-debug.apk) ## License Copyright 2015 Javier Tomás Licensed...
93f3c644-913a-4fdd-86eb-40a9e325153f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-19 06:04:21", "repo_name": "baehyewon/application", "sub_path": "/Change_Page/app/src/main/java/com/baehw1107/change_page/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in...
package com.baehw1107.change_page; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity { TextView MyTxt; Button MyB...
a151d357-9423-40e7-bdbe-3c418019373a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28 07:16:09", "repo_name": "Fungus-Light/GroupWorkSummer", "sub_path": "/groupwork/src/main/java/com/minqing/demo/service/SelectTopicService.java", "file_name": "SelectTopicService.java", "file_ext": "java", "...
package com.minqing.demo.service; import com.minqing.demo.entity.SelectTopic; import com.minqing.demo.entity.SelectTopicRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class SelectTopicService { @Autowired private Select...
d31b954f-fbdd-482d-a6cb-c19ad43b778f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-01 02:51:07", "repo_name": "zhangzijian86/PGAndroidServer", "sub_path": "/src/com/pg/db/GetExcelConn.java", "file_name": "GetExcelConn.java", "file_ext": "java", "file_size_in_byte": 951, "line_count": 33, "la...
package com.pg.db; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class GetExcelConn { public Connection getConnection(String dizhi,String duankou,String mingzi,String zhanghu,String mima) { Connection connection = null; try { //Class.forName("org...
b58de82f-227b-4be3-8b3a-ae8da3f6c86f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-17T15:31:54", "repo_name": "antoninastefanowska/SocialSynchro", "sub_path": "/app/src/main/java/com/antonina/socialsynchro/services/twitter/rest/responses/TwitterResponse.java", "file_name": "TwitterResponse.j...
package com.antonina.socialsynchro.services.twitter.rest.responses; import com.antonina.socialsynchro.common.rest.ErrorResponse; import com.antonina.socialsynchro.common.rest.IResponse; import com.google.gson.annotations.SerializedName; import java.util.ArrayList; @SuppressWarnings("MismatchedQueryAndUpdateOfCollect...
9c2d4056-9660-404e-990e-e65db6f3e8e3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-24 15:23:43", "repo_name": "eelpie/countdown-android", "sub_path": "/src/uk/co/eelpieconsulting/countdown/android/views/MessagesListAdapter.java", "file_name": "MessagesListAdapter.java", "file_ext": "java", "...
package uk.co.eelpieconsulting.countdown.android.views; import uk.co.eelpieconsulting.busroutes.model.MultiStopMessage; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class MessagesListAdapter extends ...
c22268c4-daae-42b1-93f3-19b9f9f3cc27
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-06T12:38:49", "repo_name": "JulienBe/blocus2", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 951, "line_count": 28, "lang": "en", "doc_type": "text", "blob_id":...
# Run it start `sbt` type `desktop/run` # Inner working The idea here is to architecture the game around events. The hope is that it would make easy to plug in new things. For example, a screenshake effect (They are almost as important as particles) could listen to 'enemyDestroyed' events Look at this to see how i...
229f1c35-8156-4cb9-9e41-bcfc521e1b7b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-23 16:14:01", "repo_name": "Leo123456-code/SpringCloudOfCoupon", "sub_path": "/coupon-gateway/src/main/java/com/imooc/gateway/fifter/AccessLogFilter.java", "file_name": "AccessLogFilter.java", "file_ext": "jav...
package com.imooc.gateway.fifter; import lombok.extern.slf4j.Slf4j; import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants; import org.springframework.stereotype.Component; import javax.servlet.http.HttpServletRequest; /** * * created by Leo徐忠春 * created Time 2020/2/18-3:20 * email 1437665...
dcb57ec9-fdfa-4c9d-ac8e-1b4fa4553ed2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-18 18:40:15", "repo_name": "Nesho-Developer/BookStore-Springboot-Angular6", "sub_path": "/src/main/java/com/nesho/bookstoreangular/config/SecurityUtility.java", "file_name": "SecurityUtility.java", "file_ext":...
package com.nesho.bookstoreangular.config; import org.springframework.context.annotation.Bean; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder; import java.security.SecureRandom; import java.util.Random; public class Securit...
717fec6e-78b0-4492-bf3f-8d440987497d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-04 22:00:51", "repo_name": "ryemyster/centralizedpropertiesservices", "sub_path": "/src/main/java/com/properties/queueservices/QueueServicesImpl.java", "file_name": "QueueServicesImpl.java", "file_ext": "java"...
/** * */ package com.properties.queueservices; import org.springframework.jms.JmsException; import org.springframework.jms.core.JmsTemplate; import com.properties.exception.PropertiesException; /** * @author ryanmcdonald * */ public class QueueServicesImpl implements QueueServices { protected static final S...
5cba102d-0b7d-4e84-8353-cf0b82233f92
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-14 18:53:20", "repo_name": "kazuhito-m/springboot-vue-ts-sample", "sub_path": "/src/main/java/com/github/kazuhito_m/mysample/presentation/api/operationhistory/OperationHistoryRestController.java", "file_name":...
package com.github.kazuhito_m.mysample.presentation.api.operationhistory; import com.github.kazuhito_m.mysample.application.service.operationhistory.OperationHistoryService; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframew...
a2d41e4c-6214-4657-ae4f-d5961e251638
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-16 15:25:04", "repo_name": "publinchi/spi-ws-bce", "sub_path": "/target/generated-sources/wsgen/com/cobiscorp/ecobis/spi/service/api/jaxws/Execute.java", "file_name": "Execute.java", "file_ext": "java", "file_...
package com.cobiscorp.ecobis.spi.service.api.jaxws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import com.cobiscorp.ecobis.spi....
006193be-46fe-4620-9a84-67c642d33f57
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-31 07:50:31", "repo_name": "me4bruno/blog-examples", "sub_path": "/example-bulksms/src/main/java/de/bruns/example/bulksms/SendSmsLibService.java", "file_name": "SendSmsLibService.java", "file_ext": "java", "fi...
package de.bruns.example.bulksms; import org.smslib.OutboundMessage; import org.smslib.http.BulkSmsHTTPGateway; import org.smslib.http.BulkSmsHTTPGateway.Regions; public class SendSmsLibService { private BulkSmsHTTPGateway bulkSmsHTTPGateway; public SendSmsLibService() { bulkSmsHTTPGateway = new BulkSmsHTTPGat...
60c0dc3c-201e-4e62-9b43-81370e7c7292
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-15 09:42:38", "repo_name": "indigo-dc/cdmi-dcache-qos", "sub_path": "/src/main/java/org/dcache/spi/util/JsonUtils.java", "file_name": "JsonUtils.java", "file_ext": "java", "file_size_in_byte": 950, "line_count...
package org.dcache.spi.util; import org.json.JSONArray; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; public class JsonUtils { public static List<String> jsonArrayToStringList(JSONArray array) { int len = array.length(); List<String> list = new ArrayList<String>(len); ...
b1484657-9280-41cd-9428-318725352670
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-26 22:54:40", "repo_name": "injcristianrojas/swsec-intro-spring-boot", "sub_path": "/src/main/java/cl/injcristianrojas/data/jdbc/service/PostServiceJDBC.java", "file_name": "PostServiceJDBC.java", "file_ext": ...
package cl.injcristianrojas.data.jdbc.service; import cl.injcristianrojas.data.jdbc.model.PostJDBC; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Repository; import java.util.ArrayList; import java.util.List; @R...
c5c47798-ebbb-47a2-aa34-da29ae67d375
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-24 22:51:21", "repo_name": "BryanGmz/Konquest", "sub_path": "/src/konquest/backed/objetos/Tamaño.java", "file_name": "Tamaño.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 45, "lang": "en",...
/* * 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 konquest.backed.objetos; /** * * @author bryan */ public class Tamaño { private int filas; private int columnas; ...
1ad08f02-2fdb-462e-bd8f-504057f27f26
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-10 08:36:11", "repo_name": "IMUT-ygw/6561398", "sub_path": "/homework/src/main/java/com/imut/Seriable/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 980, "line_count": 35, "la...
package com.imut.Seriable; import java.io.*; import java.nio.charset.Charset; /** * @author nmtl_ygw * @Description * @date 2020/6/25 19:22 */ public class Utils { public static void main(String[] args) throws IOException, ClassNotFoundException { Person p = new Person(); p.setAge(23); ...
7d36481f-1925-47d7-9e26-3239cd57cdf4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-23 14:52:50", "repo_name": "ninanadia/UAS_PBO_JADWAL-IMAM", "sub_path": "/src/koneksi/dataimam.java", "file_name": "dataimam.java", "file_ext": "java", "file_size_in_byte": 950, "line_count": 45, "lang": "en",...
/* * 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 koneksi; /** * * @author ninanadia */ public class dataimam { private String imam; private String muadzin; ...
dc88c277-e926-4a93-8775-37f9503756c6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-23 16:41:13", "repo_name": "synowa/Tic-Tac-Toe", "sub_path": "/Problems/Cinema/src/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 949, "line_count": 35, "lang": "en", "doc_type"...
import java.util.*; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); int[][] seats = new int[n][m]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { ...
74727811-487b-4b85-8f66-68402a25dde0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-22 15:50:51", "repo_name": "lhyf/springmvc", "sub_path": "/springmvc-1/src/main/java/org/lhyf/springmvc/entity/Address.java", "file_name": "Address.java", "file_ext": "java", "file_size_in_byte": 950, "line_co...
package org.lhyf.springmvc.entity; public class Address { private Integer id; private String province; private String city; public Address(Integer id, String province, String city) { this.id = id; this.province = province; this.city = city; } public Address() { } ...
0e02462b-04e4-4b8b-b3f0-95f1dbbeb0da
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-14 12:37:30", "repo_name": "MintyMonster/MobContracts", "sub_path": "/src/main/java/uk/co/minty_studios/mobcontracts/listeners/PlayerLeaveListener.java", "file_name": "PlayerLeaveListener.java", "file_ext": "j...
package uk.co.minty_studios.mobcontracts.listeners; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerQuitEvent; import uk.co.minty_studios.mobcontracts.MobContracts; import uk.co.minty_studios.mobcontracts.utils.CurrentContracts; public class PlayerLeaveList...
dbde60e8-c2be-4665-bfb9-6938cc7b4ed0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-03 21:26:51", "repo_name": "cfoch/SIGAD-business", "sub_path": "/src/main/java/com/sigad/sigad/business/helpers/GrupoRepartoHelper.java", "file_name": "GrupoRepartoHelper.java", "file_ext": "java", "file_size_...
/* * 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.sigad.sigad.business.helpers; import java.util.List; import org.hibernate.query.Query; /** * * @author cfoch */ public...
9f7a876e-e23a-4a88-8a85-d7dd8cf1abfb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-07 11:48:07", "repo_name": "AmrDeveloper/GitEcho", "sub_path": "/app/src/main/java/com/amrdeveloper/gitecho/object/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 950, "line_coun...
package com.amrdeveloper.gitecho.object; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.google.gson.annotations.SerializedName; public class User { @SerializedName("login") private String name; @SerializedName("avatar_url") private String avatarUrl...
0ee51690-9a48-4e33-b2b2-5e8e6ffa623d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-01T04:14:07", "repo_name": "srwagner916/horiseon", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 949, "line_count": 20, "lang": "en", "doc_type": "text", "blob_...
# Horiseon bootcamp week 1 challenge ## Purpose This is a webpage that promotes the company Horiseon Social Solution Services, Inc. They provide search engine optimization, online reputation management, and social media marketing. The purpose of this refactor was to provide a codebase that follows accessibility stand...
24396989-03e8-4222-b33e-81950a18c249
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-30 09:15:39", "repo_name": "fulq1234/eshop-weixin", "sub_path": "/src/main/java/com/ldgx/eshop/model/NewsMessage.java", "file_name": "NewsMessage.java", "file_ext": "java", "file_size_in_byte": 1020, "line_cou...
package com.ldgx.eshop.model; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; /** * 图文消息 * @auth...