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 |
|---|---|---|---|---|---|---|
b0a9ad46-f7d9-4b22-aa86-5390cecea77a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-23 18:15:55", "repo_name": "VitaliyDragun1990/jcart", "sub_path": "/jcart-site/src/main/java/com/revenat/jcart/site/security/CustomUserDetailsService.java", "file_name": "CustomUserDetailsService.java", "file_... | https://github.com/VitaliyDragun1990/jcart | 167 | FILENAME: CustomUserDetailsService.java | 0.233706 | package com.revenat.jcart.site.security;
import com.revenat.jcart.core.customers.CustomerService;
import com.revenat.jcart.core.entities.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.us... |
5d63f615-220b-4e2e-9944-e02044aff670 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-31 10:46:00", "repo_name": "sz332/epsilon-maven-plugin", "sub_path": "/src/main/java/hu/blackbelt/epsilon/maven/plugin/executeConfiguration/Ecl.java", "file_name": "Ecl.java", "file_ext": "java", "file_size_in... | https://github.com/sz332/epsilon-maven-plugin | 208 | FILENAME: Ecl.java | 0.276691 | package hu.blackbelt.epsilon.maven.plugin.executeConfiguration;
import hu.blackbelt.epsilon.maven.plugin.v1.xml.ns.definition.EclType;
import hu.blackbelt.epsilon.runtime.execution.contexts.EclExecutionContext;
import hu.blackbelt.epsilon.runtime.execution.contexts.ProgramParameter;
import lombok.Builder;
import java... |
bc055a1c-5cc9-4d2b-9d05-3c9be35aa10a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-25 08:03:15", "repo_name": "melioudas/JAVADesign", "sub_path": "/src/prototype/Video.java", "file_name": "Video.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count": 55, "lang": "en", "doc_type":... | https://github.com/melioudas/JAVADesign | 215 | FILENAME: Video.java | 0.245085 | package prototype;
import java.util.Date;
/**
* 以视频拷贝为例
* <p>
* 1.实现cloneable接口
* 2.重写clone方法
*/
public class Video implements Cloneable {
//视频名称
private String name;
//视频日期
private Date createDate;
@Override
protected Object clone() throws CloneNotSupportedException {
return su... |
1899bf3f-3993-41cb-a720-27bd8e0df911 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-01 21:17:49", "repo_name": "onegambler/Chip-Collector-XP", "sub_path": "/src/main/java/com/chipcollector/util/StringUtils.java", "file_name": "StringUtils.java", "file_ext": "java", "file_size_in_byte": 1179, ... | https://github.com/onegambler/Chip-Collector-XP | 220 | FILENAME: StringUtils.java | 0.256832 | package com.chipcollector.util;
import com.google.common.collect.ImmutableSet;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.Set;
import static java.lang.Character.toLowerCase;
import static java.lang.Character.toUpperCase;
import static java.util.Objects.isNul... |
2acc78a0-d3a9-4fe8-a878-4236f13d9d38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-15 20:50:11", "repo_name": "MRALADAG/odev42", "sub_path": "/odev42/src/odev42/OrderManager.java", "file_name": "OrderManager.java", "file_ext": "java", "file_size_in_byte": 975, "line_count": 30, "lang": "en",... | https://github.com/MRALADAG/odev42 | 235 | FILENAME: OrderManager.java | 0.279042 | package odev42;
public class OrderManager implements IOrderService {
private IPlayerValidationService playerValidationService;
private ICampaignService campaignGames;
public OrderManager(IPlayerValidationService playerValidationService, ICampaignService campaignGames) {
this.playerValidationService = playerVal... |
82bef03a-3df2-4e33-a860-8ffe8a5193b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-21 08:39:41", "repo_name": "giantsol/BakingTime", "sub_path": "/app/src/main/java/com/lee/hansol/bakingtime/utils/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1117, "line_coun... | https://github.com/giantsol/BakingTime | 206 | FILENAME: User.java | 0.281406 | package com.lee.hansol.bakingtime.utils;
import android.app.Activity;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.util.DisplayMetrics;
public class User {
public static boolean hasInternetConnection(Context context) {
Connectivity... |
dd6f0105-be07-4f17-990f-48f909a2921f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-27 16:16:51", "repo_name": "SichYuriy/JavaLabs", "sub_path": "/Lab03/src/main/java/com/gmail/at/sichyuriyy/netcracker/lab03/entity/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_i... | https://github.com/SichYuriy/JavaLabs | 208 | FILENAME: Customer.java | 0.258326 | package com.gmail.at.sichyuriyy.netcracker.lab03.entity;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Yuriy on 21.01.2017.
*/
public class Customer extends User {
private List<Project> orderedProjects;
public List<Project> getOrderedProjects() {
return orderedProjects;
}... |
1d4b57a1-f613-471b-a37a-d2ad23becd30 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-20 06:46:38", "repo_name": "wickedskillsexception/thebigproject", "sub_path": "/src/main/java/com/siit/thebigproject/recipesmanager/dao/sql/SQLRecipeIngredientsDAO.java", "file_name": "SQLRecipeIngredientsDAO.... | https://github.com/wickedskillsexception/thebigproject | 196 | FILENAME: SQLRecipeIngredientsDAO.java | 0.276691 | package com.siit.thebigproject.recipesmanager.dao.sql;
import com.siit.thebigproject.domain.RecipeIngredient;
import com.siit.thebigproject.recipesmanager.db.TheBigProjectDB;
import com.siit.thebigproject.recipesmanager.db.TheBigProjectDBException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import... |
a276c931-14c6-4dde-8b80-5185f7c82f1d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-02 17:09:59", "repo_name": "GinaSnap/automation-framework", "sub_path": "/AutomationFramework/AutomationFramework/src/mobilepage/ProfileHome.java", "file_name": "ProfileHome.java", "file_ext": "java", "file_si... | https://github.com/GinaSnap/automation-framework | 255 | FILENAME: ProfileHome.java | 0.247987 | package mobilepage;
import element.BaseMobileElement;
/**
* This Class defines the behavior and elements on the Profile Page.
* Access by Clicking on Account and Selecting Profile.
* @author GMitchell
*
*/
public class ProfileHome extends BasePage {
//Main Account Page
public BaseMobileElement btnGoBack = ne... |
21e76ebe-d03c-49e0-ad5a-7620a9d12685 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-30 22:31:42", "repo_name": "lwhamilton03/AdvancedTestingAssessment", "sub_path": "/src/main/java/com/qa/AdvancedTesting/AddOwnerPage.java", "file_name": "AddOwnerPage.java", "file_ext": "java", "file_size_in_b... | https://github.com/lwhamilton03/AdvancedTestingAssessment | 233 | FILENAME: AddOwnerPage.java | 0.272025 | package com.qa.AdvancedTesting;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class AddOwnerPage
{
@FindBy(xpath = "//*[@id=\'firstName\']")
private WebElement firstNameBox;
@FindBy(xpath = "//*[@id=\'lastName\']")
private WebElement lastNameBox;
@FindBy(xpath = "... |
4fb3d3b4-e60c-413e-8962-a3d93cce562e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-03 16:01:56", "repo_name": "0xNN/RumahAdat", "sub_path": "/app/src/main/java/com/sendi/rumahadat/Splash.java", "file_name": "Splash.java", "file_ext": "java", "file_size_in_byte": 1176, "line_count": 39, "lang... | https://github.com/0xNN/RumahAdat | 206 | FILENAME: Splash.java | 0.213377 | package com.sendi.rumahadat;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.os.Handler;
import android.view.WindowManager;
import android.widget.TextView;
public class Splash extends AppCompatActivity {
T... |
9118cf18-fc8c-4737-b1f8-b2c86dc02514 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-21 14:38:52", "repo_name": "hyunwook14/Webspring", "sub_path": "/Webspring/src/main/java/com/java/web/dao/BoardDao.java", "file_name": "BoardDao.java", "file_ext": "java", "file_size_in_byte": 994, "line_count... | https://github.com/hyunwook14/Webspring | 201 | FILENAME: BoardDao.java | 0.256832 | package com.java.web.dao;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
@Repository
public class BoardDao implements BoardDaoIn... |
f9cb59b9-d6b4-45c3-b9e6-139027286c90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-05-05T13:23:51", "repo_name": "roboconf/roboconf-maven-archetype", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1007, "line_count": 22, "lang": "en", "doc_type": ... | https://github.com/roboconf/roboconf-maven-archetype | 269 | FILENAME: readme.md | 0.245085 | # Roboconf Maven Archetype
[](http://www.apache.org/licenses/LICENSE-2.0)
[](https://gitter.im/roboconf/roboconf)
[ {
return success;
}
public void setSuccess(boolean success) {
this.success = succe... |
9f28471d-4519-4206-b300-61792073aa5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-03 14:32:20", "repo_name": "subramanian162/CompletedWebProjects", "sub_path": "/ExpensesTracker/src/main/java/com/subu2code/expenses_tracker/config/SpringBeanConfig.java", "file_name": "SpringBeanConfig.java",... | https://github.com/subramanian162/CompletedWebProjects | 196 | FILENAME: SpringBeanConfig.java | 0.27048 | package com.subu2code.expenses_tracker.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.ViewResolver;
import org.springframework.web.servlet.... |
29137fee-7738-4cf4-955c-1f3311ab873e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-29 18:58:36", "repo_name": "mugilscloud/qa_automation", "sub_path": "/Ecommerce-Order-Test/src/test/java/com/apex/ecommerce/test/AmazonLoginTestNG.java", "file_name": "AmazonLoginTestNG.java", "file_ext": "jav... | https://github.com/mugilscloud/qa_automation | 269 | FILENAME: AmazonLoginTestNG.java | 0.288569 | package com.apex.ecommerce.test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.Assert;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.a... |
46b32be7-297e-4db7-82ee-75e116aa47f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 07:57:07", "repo_name": "Sanjay007/Spring-Cloud-Examples", "sub_path": "/Eureka-Service-Client/src/main/java/com/frugalis/EurekaServiceClient/CustomerController.java", "file_name": "CustomerController.java"... | https://github.com/Sanjay007/Spring-Cloud-Examples | 212 | FILENAME: CustomerController.java | 0.26588 | package com.frugalis.EurekaServiceClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java... |
24a5e64e-a67e-4155-8ad9-f057675999ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-18 17:38:55", "repo_name": "ICY105/TheAvengersLeague-Backend", "sub_path": "/src/main/java/com/revature/models/json_mapping/CreateUser.java", "file_name": "CreateUser.java", "file_ext": "java", "file_size_in_b... | https://github.com/ICY105/TheAvengersLeague-Backend | 255 | FILENAME: CreateUser.java | 0.264358 | package com.revature.models.json_mapping;
import com.revature.models.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateUser {
private String firstName;
private String lastName;
private String username;
pr... |
a65fc304-597d-47cb-b268-19e657a1af38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-08 21:28:15", "repo_name": "luiznazari/nzz-tools", "sub_path": "/nzz-tools-parent/nzz-validation-api/src/main/java/br/com/nzz/validation/impl/CustomValidatorImpl.java", "file_name": "CustomValidatorImpl.java",... | https://github.com/luiznazari/nzz-tools | 190 | FILENAME: CustomValidatorImpl.java | 0.261331 | package br.com.nzz.validation.impl;
import br.com.nzz.validation.*;
import lombok.AccessLevel;
import lombok.Setter;
import org.jspare.core.Component;
import javax.validation.Validator;
import java.util.function.Supplier;
@Component
public class CustomValidatorImpl implements CustomValidator {
@Setter(AccessLevel.... |
62e5dd48-342c-4151-be35-b36d14f0e310 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-30 21:14:55", "repo_name": "pkErbynn/java-playground-tcl", "sub_path": "/src/io/turntabl/optional/Basic.java", "file_name": "Basic.java", "file_ext": "java", "file_size_in_byte": 977, "line_count": 39, "lang":... | https://github.com/pkErbynn/java-playground-tcl | 200 | FILENAME: Basic.java | 0.285372 | package io.turntabl.optional;
import java.util.Optional;
public class Basic {
public static void main(String[] args) {
Optional<Object> Impty = Optional.empty();
System.out.println(Impty.isPresent());
System.out.println(Impty.isEmpty());
// code smell
String name = null;
... |
29f2be97-11eb-44e1-b66e-2f73bc343077 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-30 20:56:28", "repo_name": "shstrophies/SHSTrophies", "sub_path": "/app/src/main/java/com/shs/trophiesapp/utils/TrophiesAppGlideModule.java", "file_name": "TrophiesAppGlideModule.java", "file_ext": "java", "fi... | https://github.com/shstrophies/SHSTrophies | 227 | FILENAME: TrophiesAppGlideModule.java | 0.26971 | package com.shs.trophiesapp.utils;
import android.content.Context;
import android.util.Log;
import androidx.annotation.NonNull;
import com.bumptech.glide.Glide;
import com.bumptech.glide.GlideBuilder;
import com.bumptech.glide.Registry;
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.load... |
77461c46-5a5d-4814-910a-a18e70f02343 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-16 02:50:23", "repo_name": "MaybeAction/LoadImageThree-level", "sub_path": "/app/src/main/java/com/example/maybe/loadimagethreelevel/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "f... | https://github.com/MaybeAction/LoadImageThree-level | 214 | FILENAME: MainActivity.java | 0.235108 | package com.example.maybe.loadimagethreelevel;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity implements View.OnClickLis... |
98c7ddff-7242-409e-ad5c-54428c4894f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-09 07:51:39", "repo_name": "Shehroaz/epay-springBoot-webApp", "sub_path": "/src/main/java/com/sherry/epaydigital/data/model/PaymentRequest.java", "file_name": "PaymentRequest.java", "file_ext": "java", "file_s... | https://github.com/Shehroaz/epay-springBoot-webApp | 234 | FILENAME: PaymentRequest.java | 0.261331 | package com.sherry.epaydigital.data.model;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "payment_request")
public class PaymentRequest implements Serializable {
private static final long serialVersionId = -3009157732242241606l;
@Id
@GeneratedValue
private Long id;
... |
7f5b07b7-8ad6-491b-ad82-d3317efde738 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 08:05:34", "repo_name": "iamStephenFang/JavaEE_Course_Projects", "sub_path": "/实验七/hibernate-prj3/src/cn/edu/zjut/action/UserAction.java", "file_name": "UserAction.java", "file_ext": "java", "file_size_in_b... | https://github.com/iamStephenFang/JavaEE_Course_Projects | 229 | FILENAME: UserAction.java | 0.272025 | package cn.edu.zjut.action;
import cn.edu.zjut.po.Address;
import cn.edu.zjut.po.Customer;
import cn.edu.zjut.service.UserService;
public class UserAction {
private Customer loginUser;
private Address address;
public String login() {
UserService userServ = new UserService();
if (userServ.... |
596c5740-d931-4865-9235-d7ec0111079e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-05 15:20:59", "repo_name": "xkamil/fishapp4", "sub_path": "/src/main/java/com/example/fishapp/UserRequestInterceptor.java", "file_name": "UserRequestInterceptor.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/xkamil/fishapp4 | 158 | FILENAME: UserRequestInterceptor.java | 0.252384 | package com.example.fishapp;
import com.example.fishapp.app.user.repository.UserRepository;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jav... |
1e2aa6cd-6405-47d4-b260-d951eec35bd5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-31 01:01:28", "repo_name": "Yuchengw/Lesbonne", "sub_path": "/core/appserver/src/main/java/com/lesbonne/api/config/ApiProtocol.java", "file_name": "ApiProtocol.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/Yuchengw/Lesbonne | 222 | FILENAME: ApiProtocol.java | 0.264358 | package com.lesbonne.api.config;
public enum ApiProtocol {
RestJson("java.util", "/api/", "application/json", ApiFamily.Rest);
private final String rootClassName;
private final String rootPath;
private final String contentType;
private final ApiFamily apiFamily;
private final ObjectFamily objectFamily;
pr... |
a4a3f323-07d9-4d14-8b08-384bf55bf3c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-21 20:14:37", "repo_name": "SadouskiYury/CustomPageFactory-Junit5-Jupiter-parallel", "sub_path": "/src/test/java/extension/CustomNameGenerator.java", "file_name": "CustomNameGenerator.java", "file_ext": "java"... | https://github.com/SadouskiYury/CustomPageFactory-Junit5-Jupiter-parallel | 228 | FILENAME: CustomNameGenerator.java | 0.278257 | package extension;
import org.apache.commons.lang.StringUtils;
import org.junit.jupiter.api.DisplayNameGenerator;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.stream.Collectors;
public class CustomNameGenerator implements DisplayNameGenerator {
@Override
public String generateDisplay... |
27083bb2-8c30-4e43-9fdf-64ba0cb016d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-02 03:00:18", "repo_name": "brakhin/job4j", "sub_path": "/2_io/src/test/java/ru/bgbrakhi/io/ClientTest.java", "file_name": "ClientTest.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 36, "l... | https://github.com/brakhin/job4j | 211 | FILENAME: ClientTest.java | 0.275909 | package ru.bgbrakhi.io;
import org.junit.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.Socket;
import java.util.Scanner;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.*;
import static org.mockito.Mockito.mock;
imp... |
60d811ef-a4e7-4039-8bf2-8d79f6b2b26f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-30 07:10:44", "repo_name": "DingSJ/Springboot-hello", "sub_path": "/src/main/java/com/example/demo/controller/HelloController.java", "file_name": "HelloController.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/DingSJ/Springboot-hello | 215 | FILENAME: HelloController.java | 0.262842 | package com.example.demo.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import... |
4339f279-e30a-4135-a840-60ccae9d900c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-12 06:51:48", "repo_name": "originalkaratechop/CoreApp_Repo", "sub_path": "/app/src/main/java/com/example/android/coreapp/TabAdapter.java", "file_name": "TabAdapter.java", "file_ext": "java", "file_size_in_byt... | https://github.com/originalkaratechop/CoreApp_Repo | 198 | FILENAME: TabAdapter.java | 0.258326 | package com.example.android.coreapp;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.util.SparseArray;
public class TabAdapter extends FragmentPagerAdapter {
final int PAGE_CO... |
999d3564-8ec2-400b-b159-d23afe96bfdc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-12 10:54:55", "repo_name": "Jinshadnu/E-CommerceApp", "sub_path": "/app/src/main/java/com/example/e_commerceapp/activity/repository/FeaturedProductRepository.java", "file_name": "FeaturedProductRepository.java... | https://github.com/Jinshadnu/E-CommerceApp | 208 | FILENAME: FeaturedProductRepository.java | 0.276691 | package com.example.e_commerceapp.activity.repository;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import com.example.e_commerceapp.R;
import com.example.e_commerceapp.activity.pojo.FeaturedProducts;
import java.util.ArrayList;
import java.util.List;
public class FeaturedProductRe... |
a08bf43a-e9c1-48c3-8cc4-3a44860608a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-09 07:59:32", "repo_name": "HannanShaik/fcm-notifications", "sub_path": "/app/src/main/java/com/hs/fcm/FCMService.java", "file_name": "FCMService.java", "file_ext": "java", "file_size_in_byte": 1012, "line_cou... | https://github.com/HannanShaik/fcm-notifications | 212 | FILENAME: FCMService.java | 0.228156 | package com.hs.fcm;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.media.RingtoneManager;
import android.net.Uri;
import android.support.v4.app.NotificationCompat;
import android.util.Log;
import com.google.fireba... |
e51d538c-3c23-466c-94a6-713eeec81d8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-08 06:00:08", "repo_name": "drajer-health/eCRNow", "sub_path": "/src/main/java/com/drajer/cda/utils/ValidateErrorHandler.java", "file_name": "ValidateErrorHandler.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/drajer-health/eCRNow | 225 | FILENAME: ValidateErrorHandler.java | 0.23231 | package com.drajer.cda.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
public class ValidateErrorHandler implements ErrorHandler {
public static final Logger logger = LoggerFactory.getLogger(Vali... |
de3c6ee5-ee42-4d61-8d35-384b1dc9e57d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-09-01 08:54:54", "repo_name": "youtube/cobalt", "sub_path": "/starboard/android/apk/app/src/main/java/dev/cobalt/libraries/services/clientloginfo/ClientLogInfo.java", "file_name": "ClientLogInfo.java", "file_ext"... | https://github.com/youtube/cobalt | 269 | FILENAME: ClientLogInfo.java | 0.285372 | package dev.cobalt.libraries.services.clientloginfo;
import static java.nio.charset.StandardCharsets.UTF_8;
import android.content.Context;
import dev.cobalt.coat.CobaltService;
import dev.cobalt.util.Log;
/** ClientLogInfo to report Android API support on android devices. */
public class ClientLogInfo extends Cobal... |
a59decd6-1963-4ba9-bc94-852773fe91b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-20 16:39:05", "repo_name": "Holub0816/Dialysis-Station", "sub_path": "/Dialysis - Android Project/app/src/main/java/com/example/dialysis/ConnectionClass.java", "file_name": "ConnectionClass.java", "file_ext": ... | https://github.com/Holub0816/Dialysis-Station | 198 | FILENAME: ConnectionClass.java | 0.225417 | package com.example.dialysis;
import android.annotation.SuppressLint;
import android.os.StrictMode;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class ConnectionClass {
String ip = "192.168.1.5:3306";
String db = "dializa_baza";
String url = "jdbc:mysql... |
e48db6c2-8bf7-402c-8ffe-e074960998a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-01 11:42:23", "repo_name": "lost-233/project-parent", "sub_path": "/service-parent/test-service/src/main/java/com/zhaoming/service/test/controller/CategoryController.java", "file_name": "CategoryController.jav... | https://github.com/lost-233/project-parent | 202 | FILENAME: CategoryController.java | 0.212069 | package com.zhaoming.service.test.controller;
import com.zhaoming.base.service.ServiceResult;
import com.zhaoming.bean.test.dto.CategoryDto;
import com.zhaoming.bean.test.result.CategoryResult;
import com.zhaoming.client.test.CategoryClient;
import com.zhaoming.service.test.service.ICategoryService;
import org.spring... |
2a41ebd7-c9d5-4462-b046-7cdb0dc03fc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-04 18:09:43", "repo_name": "usmandurrany/Pranky-5.1", "sub_path": "/app/src/main/java/com/fournodes/ud/pranky/models/ContactDetails.java", "file_name": "ContactDetails.java", "file_ext": "java", "file_size_in_... | https://github.com/usmandurrany/Pranky-5.1 | 241 | FILENAME: ContactDetails.java | 0.250913 | package com.fournodes.ud.pranky.models;
/**
* Created by Usman on 12/1/2016.
*/
public class ContactDetails {
private int id;
private String[] numIDs;
private String name;
private String[] regNumbers;
public int getId() {
return id;
}
public String getName() {
return nam... |
0daf413f-52cb-49ce-aff2-b7315ebfeb1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-13 15:49:32", "repo_name": "mahmedk13/IntelliPaatMayBatchSeleniumLearning", "sub_path": "/src/org/selenium/learning/ScreenshotExample.java", "file_name": "ScreenshotExample.java", "file_ext": "java", "file_siz... | https://github.com/mahmedk13/IntelliPaatMayBatchSeleniumLearning | 212 | FILENAME: ScreenshotExample.java | 0.26588 | package org.selenium.learning;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.chrome.ChromeDriver;
public class ScreenshotExample {
public static voi... |
4e7b0b88-ff84-4fb7-9ee2-8c44d97da7f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-26 07:19:00", "repo_name": "Devendra-Singh-Bhandari/Reporting", "sub_path": "/ReportingTool/Reporting-Tool/src/main/java/com/reporting/tool/ReportingTool/DBConfig.java", "file_name": "DBConfig.java", "file_ext... | https://github.com/Devendra-Singh-Bhandari/Reporting | 198 | FILENAME: DBConfig.java | 0.224055 | package com.reporting.tool.ReportingTool;
import javax.sql.DataSource;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.sprin... |
611b9b65-c0c9-4902-8ba7-cbc269311801 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-31 20:58:45", "repo_name": "rolandoberweger/WebEng", "sub_path": "/Aufgabe2/lab2/src/main/java/at/ac/tuwien/big/we15/lab2/api/DisplayQuestion.java", "file_name": "DisplayQuestion.java", "file_ext": "java", "fi... | https://github.com/rolandoberweger/WebEng | 262 | FILENAME: DisplayQuestion.java | 0.261331 | package at.ac.tuwien.big.we15.lab2.api;
import java.util.List;
/**
* For display of a question in the question view.
*/
public class DisplayQuestion {
private String categoryName;
private int value, id;
private String questionText;
private List<DisplayAnswer> answers;
public DisplayQuestion(String categoryNa... |
9f93b740-a6d8-4b24-84dc-f7f9f44a88c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-14T17:58:35", "repo_name": "Nshiv011/BOT", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1011, "line_count": 25, "lang": "en", "doc_type": "text", "blob_id": "a... | https://github.com/Nshiv011/BOT | 244 | FILENAME: README.md | 0.271252 | # BOT
Basically Its a bot based on ONGC CHAT SYSTEM.
Developed with the help of RASA.
LANGUAGES- PYTHON for backend and HTML for frontend.
____________________________________________________
1. First of all, Download the file.
2. Setup Anaconda environment and install RASA in it- {command- (RASA INIT)}
3. You have to ... |
75613783-a732-41a4-8162-6c3fc402e237 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-10-14T13:19:08", "repo_name": "optionalg/scripts", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1011, "line_count": 30, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/optionalg/scripts | 239 | FILENAME: README.md | 0.185947 | # Scripts
These are various scripts I've written.
####git-hooks/
Scripts to be used as hooks for the Git version control system.
####init/
Scripts to control utilities starting/stopping, written with chkconfig in mind.
####mirror-scripts/
Scripts to mirror popular projects on a private mirror on your LAN. See mirror... |
eda6920d-388b-475b-a8fa-9219609ede9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-29 13:33:06", "repo_name": "LJiangCheng/review", "sub_path": "/spider/src/main/java/com/review/spider/controller/SpiderController.java", "file_name": "SpiderController.java", "file_ext": "java", "file_size_in_... | https://github.com/LJiangCheng/review | 175 | FILENAME: SpiderController.java | 0.226784 | package com.review.spider.controller;
import com.review.spider.bean.BaseResult;
import com.review.spider.service.spec.Spider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import ... |
9ac7c86d-8a3a-4c22-a415-247d89f88a03 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-17 21:11:11", "repo_name": "edostler/codeclan_classwork", "sub_path": "/week_08/day_4/untitled folder/music_shop_advnaced_solution/src/main/java/models/Guitar.java", "file_name": "Guitar.java", "file_ext": "ja... | https://github.com/edostler/codeclan_classwork | 208 | FILENAME: Guitar.java | 0.23231 | package models;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name="guitars")
public class Guitar extends Instrument {
private String model;
private int numberOfStrings;
public Guitar() {
}
public Guitar(int buyPrice, int sell... |
87269677-ca4d-48d1-96da-ff6321e7d9ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-23 22:10:45", "repo_name": "sheldor14/Independant-Study", "sub_path": "/Live.java", "file_name": "Live.java", "file_ext": "java", "file_size_in_byte": 1152, "line_count": 37, "lang": "en", "doc_type": "code", ... | https://github.com/sheldor14/Independant-Study | 237 | FILENAME: Live.java | 0.259826 | import java.io.*;
import javax.sound.sampled.*;
public class Live{
public static void main(String[] args) {
AudioFormat audioFormat = new AudioFormat(44100, 16, 2, true, true);
TargetDataLine m_targetLine;
SourceDataLine m_sourceLine;
int m_nExternalBufferSize;
tr... |
c9be3fb1-de80-482c-91e7-7171c8529c78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-28 11:33:52", "repo_name": "kozhevnikovpe/java1", "sub_path": "/app/src/main/java/com/pavelekozhevnikov/homework1/BaseThemeActivity.java", "file_name": "BaseThemeActivity.java", "file_ext": "java", "file_size_... | https://github.com/kozhevnikovpe/java1 | 182 | FILENAME: BaseThemeActivity.java | 0.235108 | package com.pavelekozhevnikov.homework1;
import android.annotation.SuppressLint;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
@SuppressLint("Registered")
public class BaseThemeActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
06f27922-be96-4423-92b4-b970c4e6f514 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-05 19:04:41", "repo_name": "mo3pheus/Mission.Control", "sub_path": "/src/main/java/nasa/gov/mission/control/weatherAnalysis/WeatherDataArchive.java", "file_name": "WeatherDataArchive.java", "file_ext": "java",... | https://github.com/mo3pheus/Mission.Control | 191 | FILENAME: WeatherDataArchive.java | 0.262842 | package nasa.gov.mission.control.weatherAnalysis;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.URL;
public class WeatherDataArchive {
public static final String FILENAME_PREFIX = "weatherDataCuriosityActual_";
private String weath... |
892cadcb-b5cb-40f5-b42f-a8df6b8c8e3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-24 18:34:56", "repo_name": "SlavaErgonov/RedShelf", "sub_path": "/src/test/java/step_definitions/RedShelf_Search_StepDefs.java", "file_name": "RedShelf_Search_StepDefs.java", "file_ext": "java", "file_size_in_... | https://github.com/SlavaErgonov/RedShelf | 248 | FILENAME: RedShelf_Search_StepDefs.java | 0.295027 | package step_definitions;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import org.junit.Assert;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
import pages.RedShelfHomePage;
import pages.RedShelfSearchPage;
import utilities.Config;
import uti... |
3ba69bc5-6183-4c07-a41e-1e923f0acee9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-07-20T05:36:19", "repo_name": "kaushalswap/ios-samples", "sub_path": "/ios12/VisionObjectTrack/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 975, "line_count": 34, "lang": "en",... | https://github.com/kaushalswap/ios-samples | 214 | FILENAME: README.md | 0.279042 | ---
name: Xamarin.iOS - Tracking Multiple Objects or Rectangles in Video
description: This sample demonstrates how to apply Vision algorithms to track objects or rectangles throughout a video. Build Requirements Xamarin.iOS 12.0 or...
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-ios... |
040c7897-3a34-48ce-9bdb-62af241226e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-13 19:49:35", "repo_name": "VitorPeixoto/GameEngine", "sub_path": "/src/engine/renderer/models/ModelType.java", "file_name": "ModelType.java", "file_ext": "java", "file_size_in_byte": 980, "line_count": 46, "l... | https://github.com/VitorPeixoto/GameEngine | 227 | FILENAME: ModelType.java | 0.284576 | package engine.renderer.models;
import engine.loaders.Model;
import engine.loaders.ModelLoader;
import engine.terrain.TerrainGenerator;
import java.io.IOException;
public enum ModelType {
SPHERE("sphere"),
CUBE("cube"),
TERRAIN("terrain"),
SPACESHIP("spaceship"),
PERSON("person"),
TREE("tree"... |
b09bf9ae-479a-4e20-8eeb-ea2cf67f09f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-04 14:55:15", "repo_name": "qinjiajuny/JDBCLearning", "sub_path": "/learning-template/curd-demo-jdk11/src/main/java/pers/huangyuhui/curd/utils/ConfigUtil.java", "file_name": "ConfigUtil.java", "file_ext": "jav... | https://github.com/qinjiajuny/JDBCLearning | 252 | FILENAME: ConfigUtil.java | 0.26588 | package pers.huangyuhui.curd.utils;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* @project: curd-demo
* @description: 读取数据库配置文件的工具类
* @author: 黄宇辉
* @date: 8/22/2019-3:49 PM
* @version: 1.0
* @website: https://yubuntu0109.github.... |
116f6d7c-5a19-4408-8b56-3610ac434de2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-20 11:34:20", "repo_name": "matteoranzi/HomeMessaging", "sub_path": "/src/models/chat/Chat.java", "file_name": "Chat.java", "file_ext": "java", "file_size_in_byte": 992, "line_count": 49, "lang": "en", "doc_ty... | https://github.com/matteoranzi/HomeMessaging | 203 | FILENAME: Chat.java | 0.259826 | package models.chat;
import models.messages.MessagesList;
import models.messages.Message;
import models.user.User;
import java.util.ArrayList;
/**
* Created by IntelliJ IDEA.
* User: matteoranzi
* Date: 10/12/18
* Time: 18.54
*/
public class Chat {
private int notificationCounter;
private MessagesList m... |
ef8f47ba-1438-46e1-9ccd-1d693565f1cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-17 19:51:49", "repo_name": "code-glutton/DI-and-autowiring-practice", "sub_path": "/src/main/java/com/osahonAtm/DogAndOwnerProf.java", "file_name": "DogAndOwnerProf.java", "file_ext": "java", "file_size_in_byt... | https://github.com/code-glutton/DI-and-autowiring-practice | 262 | FILENAME: DogAndOwnerProf.java | 0.284576 | package com.osahonAtm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component("implementbean")
public class DogAndOwnerProf {
private Person person;
private Dog dog;
public Person getPerson() {
return person;
}
@Autowire... |
4d1130b7-14f6-48dc-b1f4-c3eef129ecc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-17 13:12:27", "repo_name": "tomocrafter/uma", "sub_path": "/src/main/java/net/tomocraft/uma/utils/StackTraceDialog.java", "file_name": "StackTraceDialog.java", "file_ext": "java", "file_size_in_byte": 1047, "l... | https://github.com/tomocrafter/uma | 196 | FILENAME: StackTraceDialog.java | 0.212069 | package net.tomocraft.uma.utils;
import javax.swing.*;
import java.awt.*;
import java.io.PrintWriter;
import java.io.StringWriter;
public class StackTraceDialog {
public static void showStackTraceDialog(Throwable e) {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWrit... |
6f38d47c-3ff0-4a0f-a4e2-b2442e8a8c11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-06 19:29:07", "repo_name": "jmarkman/CSC240-JsonMap", "sub_path": "/app/src/main/java/com/learningprojects/jmarkman/jsonmap/PopupAdapter.java", "file_name": "PopupAdapter.java", "file_ext": "java", "file_size_... | https://github.com/jmarkman/CSC240-JsonMap | 193 | FILENAME: PopupAdapter.java | 0.243642 | package com.learningprojects.jmarkman.jsonmap;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.model.Marker;
public class PopupAdapter implements GoogleMap.InfoWindowAdapter
{
private Vi... |
8f74c9d7-470f-4897-80a8-9cae528f68f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-30 17:37:21", "repo_name": "FuriKuri/technicalchallenge1", "sub_path": "/src/main/java/com/gft/bench/service/WatchingComponent.java", "file_name": "WatchingComponent.java", "file_ext": "java", "file_size_in_by... | https://github.com/FuriKuri/technicalchallenge1 | 201 | FILENAME: WatchingComponent.java | 0.286169 | package com.gft.bench.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import rx.Observable;
import rx.subjects.PublishSubject;
import java.nio.file.Path;
@Component
public class Watchi... |
9bba4509-8870-4c4a-b8f3-0e6b3762da17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-22 21:25:58", "repo_name": "tkrutowski/Twitter", "sub_path": "/src/main/java/org/sda/twitter/servlets/FollowerAddServlet.java", "file_name": "FollowerAddServlet.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/tkrutowski/Twitter | 180 | FILENAME: FollowerAddServlet.java | 0.279828 | package org.sda.twitter.servlets;
import org.sda.twitter.database.dao.FollowersDao;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOEx... |
5d25a2c3-4ccc-4058-91df-31a76beac3df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-10 03:11:58", "repo_name": "Swiddis/SRChess", "sub_path": "/src/widdis/unroe/chess/board/pieces/Queen.java", "file_name": "Queen.java", "file_ext": "java", "file_size_in_byte": 1019, "line_count": 46, "lang": ... | https://github.com/Swiddis/SRChess | 242 | FILENAME: Queen.java | 0.279042 | package widdis.unroe.chess.board.pieces;
import widdis.unroe.chess.board.Board;
import widdis.unroe.chess.board.Square;
import java.util.HashSet;
public class Queen extends Piece {
public Queen(Color color) {
this.setColor(color);
}
@Override
public HashSet<Square> getLegalMoves(Square curr,... |
eb85819e-90d5-4236-a6b0-1d33a944bd92 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-18 15:05:50", "repo_name": "cedric313/checkpoint4Android", "sub_path": "/app/src/main/java/com/example/checkpoint4/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1066, "li... | https://github.com/cedric313/checkpoint4Android | 235 | FILENAME: User.java | 0.23231 | package com.example.checkpoint4.model;
import java.util.ArrayList;
import java.util.List;
public class User {
private String email;
private String password;
private Long idUser;
private List<Rider> riders = new ArrayList<>();
public User() {
}
public User(String email, String password, ... |
94200174-cfb5-4d2c-b487-420ac847e0f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-03 18:29:19", "repo_name": "infostroytraining/Gridin", "sub_path": "/Task2/src/com/infostroy/web/listener/ContextListener.java", "file_name": "ContextListener.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/infostroytraining/Gridin | 211 | FILENAME: ContextListener.java | 0.286169 | package com.infostroy.web.listener;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.infostroy.service.UserService;
import com.infostroy.... |
5ee2e7c7-f82c-4804-9105-241dae32570e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-17 18:09:13", "repo_name": "anthonylavell/Park-Rate", "sub_path": "/src/main/java/spot_hero/concrete/JsonFile.java", "file_name": "JsonFile.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 30... | https://github.com/anthonylavell/Park-Rate | 178 | FILENAME: JsonFile.java | 0.262842 | package spot_hero.concrete;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
public class Jso... |
7905ed1a-6d9d-486e-9ceb-80ba96f9b0ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-13 04:21:49", "repo_name": "kevingroque/MyPersonalApp", "sub_path": "/app/src/main/java/app/roque/com/mypersonalapp/repository/UserRepository.java", "file_name": "UserRepository.java", "file_ext": "java", "fil... | https://github.com/kevingroque/MyPersonalApp | 256 | FILENAME: UserRepository.java | 0.27048 | package app.roque.com.mypersonalapp.repository;
import java.util.ArrayList;
import java.util.List;
import app.roque.com.mypersonalapp.model.User;
public class UserRepository {
public static List<User> users = new ArrayList<>();
static{
users.add(new User(100, "ebenites", "tecsup"));
users.... |
650afd07-b991-4c5e-a240-bfdc173579db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-05 01:50:06", "repo_name": "DylanRedfield/IowaCaucusResults", "sub_path": "/src/main/java/me/dylanredfield/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 990, "line_count": 39, ... | https://github.com/DylanRedfield/IowaCaucusResults | 178 | FILENAME: Main.java | 0.235108 | package me.dylanredfield;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import retrofit.Call;
import retrofit.GsonConverterFactory;
import retrofit.Retrofit;
import java.io.IOException;
public class Main {
public static final String BASE_URL = "https://www.idpcaucuses.com/api/";
public s... |
05960c0a-7a91-49e1-8839-049306550ff4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-25 08:39:29", "repo_name": "geelaro/spring-boot-samples", "sub_path": "/spring-boot-multi-mongodb/src/main/java/com/geelaro/multimongo/entity/Role.java", "file_name": "Role.java", "file_ext": "java", "file_siz... | https://github.com/geelaro/spring-boot-samples | 235 | FILENAME: Role.java | 0.216012 | package com.geelaro.multimongo.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "role")
public class Role {
@Id
private Long id;
... |
fd2e84a0-8f0a-40b9-9182-058f7e689e1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-20 02:50:34", "repo_name": "mirse/StudyCollection", "sub_path": "/module_architecture/src/main/java/com/wdz/module_architecture/rxjava/http/BaseObserver.java", "file_name": "BaseObserver.java", "file_ext": "ja... | https://github.com/mirse/StudyCollection | 212 | FILENAME: BaseObserver.java | 0.267408 | package com.wdz.module_architecture.rxjava.http;
import android.util.Log;
import com.wdz.module_architecture.rxjava.bean.BaseResponse;
import io.reactivex.Observer;
import io.reactivex.disposables.Disposable;
public abstract class BaseObserver<T> implements Observer<BaseResponse<T>> {
private static final Stri... |
33e63f27-b523-402e-9724-46da76b1cb26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 15:11:32", "repo_name": "fobird/ProjectLocal01", "sub_path": "/day17_case/src/cn/itcast/web/servlet/DelSelectedServlet.java", "file_name": "DelSelectedServlet.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/fobird/ProjectLocal01 | 200 | FILENAME: DelSelectedServlet.java | 0.2227 | package cn.itcast.web.servlet;
import cn.itcast.service.UserService;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
... |
be540ec9-ab1b-47be-8385-d7f67be84432 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-04 13:27:01", "repo_name": "MarcosApp/ProjetoUSJT", "sub_path": "/src/conexao/Conexao.java", "file_name": "Conexao.java", "file_ext": "java", "file_size_in_byte": 1179, "line_count": 50, "lang": "en", "doc_typ... | https://github.com/MarcosApp/ProjetoUSJT | 239 | FILENAME: Conexao.java | 0.274351 | /*
* 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 conexao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @author Marcos
*... |
646a3f66-2c53-449d-b11a-59b90a6ce10d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-04 08:31:55", "repo_name": "547291213/CommodityManagerment", "sub_path": "/app/src/main/java/com/example/commoditymanagerment/Util/TimeUtil.java", "file_name": "TimeUtil.java", "file_ext": "java", "file_size_i... | https://github.com/547291213/CommodityManagerment | 203 | FILENAME: TimeUtil.java | 0.259826 | package com.example.commoditymanagerment.Util;
import java.text.ParseException;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class TimeUtil {
public static String getNowDate() {
Date currentTime = new Date();
SimpleD... |
ce186c1c-cb39-452d-b357-617736f02e78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-31T00:45:12", "repo_name": "antaljanosbenjamin/build-latex-with-make", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 999, "line_count": 27, "lang": "en", "doc_t... | https://github.com/antaljanosbenjamin/build-latex-with-make | 241 | FILENAME: README.md | 0.247987 | # :negative_squared_cross_mark: THIS REPOSITORY IS ARCHIVED
# Build latex with make
This action can be used to build latex documents with make. The `texlive-latex-extra texlive-fonts-extra texlive-bibtex-extra biber make git` packages are installed on the base ubuntu image, so everything can be used that is available i... |
38e35bd6-9aad-4a11-9f93-98d55cd7d81b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-19 22:28:24", "repo_name": "tonte/SlydepayAndroidTutorial1", "sub_path": "/app/src/main/java/slydepay/com/tonte/sampleslydepayintegration/model/APIResponse.java", "file_name": "APIResponse.java", "file_ext": "... | https://github.com/tonte/SlydepayAndroidTutorial1 | 232 | FILENAME: APIResponse.java | 0.20947 | package slydepay.com.tonte.sampleslydepayintegration.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Tonte on 6/15/17.
*/
public class APIResponse {
@SerializedName("success")
@Expose
private Boolean success;
@SerializedName("res... |
946ffa10-d7c4-47bf-b571-d11b302ddc79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-04 03:16:35", "repo_name": "ynfeng/todo", "sub_path": "/src/main/java/com/github/ynfeng/todo/todolist/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1177, "line_count": 63, "lan... | https://github.com/ynfeng/todo | 263 | FILENAME: Item.java | 0.292595 | package com.github.ynfeng.todo.todolist;
public class Item {
private final String name;
private Status status;
private Item(String name) {
this.name = name;
status = Status.UnFinished;
}
public static Item newItem(String name) {
return new Item(name);
}
public Str... |
96d5e9ca-4fe6-4f7c-adc8-b71c1377e6ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-26 15:45:58", "repo_name": "geyi/fast", "sub_path": "/src/main/java/com/kuaidi100/fast/server/OrderConsumer.java", "file_name": "OrderConsumer.java", "file_ext": "java", "file_size_in_byte": 1113, "line_count"... | https://github.com/geyi/fast | 204 | FILENAME: OrderConsumer.java | 0.243642 | package com.kuaidi100.fast.server;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java.util.List;
//@Component
public class OrderConsumer {
private static final Logger log = LoggerFactory.getLogger(OrderCons... |
991f2775-633b-4fa7-851b-96ae386885fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-27 12:43:25", "repo_name": "leocaliban/finance-api-spring", "sub_path": "/src/main/java/com/finance/api/config/property/FinanceApiProperty.java", "file_name": "FinanceApiProperty.java", "file_ext": "java", "fi... | https://github.com/leocaliban/finance-api-spring | 217 | FILENAME: FinanceApiProperty.java | 0.236516 | package com.finance.api.config.property;
import java.util.Arrays;
import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("finance")
public class FinanceApiProperty {
private List<String> originsPermitidas = Arrays.asList("http://localho... |
8960b2fd-1cd8-4904-bca2-133ceac99e0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-13 14:11:00", "repo_name": "swapnadhabadia/BrowserImages", "sub_path": "/app/src/main/java/com/example/browseimages/utils/DialogUtil.java", "file_name": "DialogUtil.java", "file_ext": "java", "file_size_in_byt... | https://github.com/swapnadhabadia/BrowserImages | 202 | FILENAME: DialogUtil.java | 0.226784 | package com.example.browseimages.utils;
import android.content.Context;
import android.view.WindowManager;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
import com.example.browseimages.R;
public class DialogUtil {
public static void showOrHideKeyboard(Context ctx, EditText ... |
e03307e8-bf00-4af9-a06d-e43819c98a11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-31 19:16:24", "repo_name": "pawkrol/fractality", "sub_path": "/src/main/java/engine/scene/GameObject.java", "file_name": "GameObject.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 54, "lan... | https://github.com/pawkrol/fractality | 233 | FILENAME: GameObject.java | 0.291787 | package engine.scene;
import engine.model.Model;
import engine.scene.shader.ShaderProgram;
public abstract class GameObject extends Node {
private Scene scene;
private ShaderProgram shaderProgram;
private Model model;
public GameObject(Scene scene) {
this(scene, null, null);
}
publi... |
d7477567-a8f7-4975-ba3b-511da663883a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-16 12:55:15", "repo_name": "gpraveenk88/williamssonomachallenge", "sub_path": "/src/main/java/com/test/williamssonoma/challenge/helpers/StringHelper.java", "file_name": "StringHelper.java", "file_ext": "java",... | https://github.com/gpraveenk88/williamssonomachallenge | 189 | FILENAME: StringHelper.java | 0.239349 | package com.test.williamssonoma.challenge.helpers;
import com.test.williamssonoma.challenge.bean.ZipCodeRange;
public class StringHelper {
public static String connect(String[] arr, String delimiter) {
StringBuffer buf = new StringBuffer();
boolean first = false;
for(String item : arr) {... |
8a533206-6139-4d18-afa1-f2baa2b32eb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-18 02:08:53", "repo_name": "joaomarccos/AirSoft-Association", "sub_path": "/pos-airsoft-business-rules/src/main/java/io/github/joaomarccos/pos/airsoft/repositories/GameInvitationRepositoryImpl.java", "file_nam... | https://github.com/joaomarccos/AirSoft-Association | 271 | FILENAME: GameInvitationRepositoryImpl.java | 0.26971 | package io.github.joaomarccos.pos.airsoft.repositories;
import io.github.joaomarccos.pos.airsoft.dao.DAO;
import io.github.joaomarccos.pos.airsoft.dao.DaoJPAFactory;
import io.github.joaomarccos.pos.airsoft.entitys.GameInvitation;
import io.github.joaomarccos.pos.airsoft.repositories.interfaces.GameInvitationRepositor... |
3b166d1d-54c6-484b-94d9-173da3127d27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-10 07:17:09", "repo_name": "arts95/JavaTestTask", "sub_path": "/src/main/java/com/practice/demo/controller/CommonExceptionHandlerController.java", "file_name": "CommonExceptionHandlerController.java", "file_ex... | https://github.com/arts95/JavaTestTask | 155 | FILENAME: CommonExceptionHandlerController.java | 0.233706 | package com.practice.demo.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.Res... |
3ea46920-5a1d-4e16-bf6f-2799afd9acc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-03 10:21:30", "repo_name": "Ondrej-vojtisek/bbmri", "sub_path": "/src/main/java/cz/bbmri/entities/enumeration/SystemRole.java", "file_name": "SystemRole.java", "file_ext": "java", "file_size_in_byte": 1154, "l... | https://github.com/Ondrej-vojtisek/bbmri | 254 | FILENAME: SystemRole.java | 0.262842 | package cz.bbmri.entities.enumeration;
/**
* General system role of user.
* USER - anyone who is authorized to access system (who fullfill authorization requirements to acces)
* implicit role
* ADMINISTRATOR - administrator of system. He has access to global settings of BBMRI, can browse everything
* DEVELOPER - ... |
9c253dff-e90a-45cc-9cd5-dd7418d42f19 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-29 14:02:48", "repo_name": "wangshujing/asaml", "sub_path": "/ASAML-Modeling-and-verification-system-Demo/src/com/saml/util/StateTransitionInfo.java", "file_name": "StateTransitionInfo.java", "file_ext": "java... | https://github.com/wangshujing/asaml | 237 | FILENAME: StateTransitionInfo.java | 0.278257 | package com.saml.util;
import java.util.ArrayList;
import com.saml.util.StateTransitionRule;
public class StateTransitionInfo {
private ArrayList<StateTransitionRule> stRuleSet;
private ArrayList<String> states;
private ArrayList<String> edges;
public StateTransitionInfo(){
stRuleSet = new ArrayList<StateTra... |
454d40d8-34d3-4a46-a96b-f95d7d885cf5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 11:44:57", "repo_name": "irdi1/ManagmentSystem", "sub_path": "/src/main/java/com/ManagmentSystem/FleetApp/services/SupplierService.java", "file_name": "SupplierService.java", "file_ext": "java", "file_size_... | https://github.com/irdi1/ManagmentSystem | 190 | FILENAME: SupplierService.java | 0.262842 | package com.ManagmentSystem.FleetApp.services;
import com.ManagmentSystem.FleetApp.models.Supplier;
import com.ManagmentSystem.FleetApp.repositories.ClientRepository;
import com.ManagmentSystem.FleetApp.repositories.SupplierRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... |
d1fafdcd-193d-45b7-ad31-b40cd0e3478e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-24 15:39:17", "repo_name": "jpbassinello/superlogica-java", "sub_path": "/src/main/java/br/com/jpb/superlogica/model/RespostaCheckout.java", "file_name": "RespostaCheckout.java", "file_ext": "java", "file_size... | https://github.com/jpbassinello/superlogica-java | 257 | FILENAME: RespostaCheckout.java | 0.224055 | package br.com.jpb.superlogica.model;
import br.com.jpb.JsonUtil;
import lombok.Getter;
import lombok.Setter;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
@JsonIgnoreProperties(ignoreUnknown = t... |
baefc711-948c-49dd-b5fc-1f485aefe903 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 08:59:55", "repo_name": "lucifax301/chelizi", "sub_path": "/chelizi/access/src/main/java/com/lili/net/mina/CommonMessageEncoder.java", "file_name": "CommonMessageEncoder.java", "file_ext": "java", "file_siz... | https://github.com/lucifax301/chelizi | 220 | FILENAME: CommonMessageEncoder.java | 0.233706 | package com.lili.net.mina;
import org.apache.mina.core.buffer.IoBuffer;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.ProtocolEncoderAdapter;
import org.apache.mina.filter.codec.ProtocolEncoderOutput;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.lili.net.Com... |
27326b5a-4670-4a0c-b8aa-9d0e10b1bbfc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-14 06:19:52", "repo_name": "SoulofSZY/steamedfish-all", "sub_path": "/java/jdk8op/src/test/java/com/szy/lamda/concurrent/threads_runnable/DeadLockSample.java", "file_name": "DeadLockSample.java", "file_ext": "... | https://github.com/SoulofSZY/steamedfish-all | 299 | FILENAME: DeadLockSample.java | 0.282196 | package com.szy.lamda.concurrent.threads_runnable;
/**
* 〈一句话功能简述〉<br>
* 〈测试java 死锁〉
*
* @author sunzhengyu
* @create 2019/8/20
* @since 1.0.0
*/
public class DeadLockSample extends Thread {
private String first;
private String second;
public DeadLockSample(String name, String first, String second... |
16fb2ee2-0ce1-4af1-bc93-2ff5967a6c29 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-22 06:59:51", "repo_name": "vijayEE1997/Chat-App-Kafka", "sub_path": "/Project 2/SpringKafkaMessaging/src/main/java/com/vijay/SpringKafkaMessaging/persistence/model/AccessToken.java", "file_name": "AccessToken... | https://github.com/vijayEE1997/Chat-App-Kafka | 182 | FILENAME: AccessToken.java | 0.229535 | package com.vijay.SpringKafkaMessaging.persistence.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
... |
d3aadd5e-f8d0-412d-9d10-16d58b7c82e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-18 05:17:49", "repo_name": "XanderYe/service-monitor", "sub_path": "/api/src/main/java/cn/xanderye/controller/SystemController.java", "file_name": "SystemController.java", "file_ext": "java", "file_size_in_byt... | https://github.com/XanderYe/service-monitor | 291 | FILENAME: SystemController.java | 0.247987 | package cn.xanderye.controller;
import cn.xanderye.base.ResultBean;
import cn.xanderye.entity.AccessLog;
import cn.xanderye.service.AccessLogService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.ann... |
9481fc21-7855-4be3-b063-a46dde6a78cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-09 15:11:12", "repo_name": "villegascmarco/android-studio-projects", "sub_path": "/ChineseCalendar/app/src/main/java/com/example/chinesecalendar/Foo.java", "file_name": "Foo.java", "file_ext": "java", "file_si... | https://github.com/villegascmarco/android-studio-projects | 205 | FILENAME: Foo.java | 0.217338 | package com.example.chinesecalendar;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import java.io.IOException;
import java.util.List;
import us.codecraft.xsoup.Xsoup;
public class Foo implements Runnable {
private String intentName;
private volatile String value;
public Foo(String intentName... |
19b0845b-9c30-47cc-87a9-d77b05b55a27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-02-26T20:47:37", "repo_name": "rscarlisle/blockchain-voting-system", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1239, "line_count": 43, "lang": "en", "doc_type"... | https://github.com/rscarlisle/blockchain-voting-system | 320 | FILENAME: README.md | 0.264358 | http://blockchain-voting-system.surge.sh/

# Blockchain voting app.
• In this project I’m exploring blockchain basics and how it can be made tamper-proof through use of blockchain technology.
• The 3 main files of this small project are:
• > blockchanManager.js - describe the fun... |
adaa9245-29f8-4d47-a2ec-3e29daa36194 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-01 08:44:54", "repo_name": "TianXingKeJi/YiKeZhong", "sub_path": "/NeiHanDuanZi/app/src/main/java/com/example/y_xl/neihanduanzi/view/adapter/MBaseAdapter.java", "file_name": "MBaseAdapter.java", "file_ext": "j... | https://github.com/TianXingKeJi/YiKeZhong | 207 | FILENAME: MBaseAdapter.java | 0.27048 | package com.example.y_xl.neihanduanzi.view.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.BaseAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Administrator on 2018/4/14 0014.
*/
public abstract class MBaseAdapter<T> extends android.... |
271e1d90-c36a-4223-b222-f0e382c7dd0d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-23 04:35:07", "repo_name": "bradchao/MyGoogleTutor2", "sub_path": "/GTutor2/src/tw/brad/gtest2/Brad62.java", "file_name": "Brad62.java", "file_ext": "java", "file_size_in_byte": 1012, "line_count": 42, "lang":... | https://github.com/bradchao/MyGoogleTutor2 | 245 | FILENAME: Brad62.java | 0.286169 | package tw.brad.gtest2;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class Brad62 {
public static void main(String[] args) {
String urlString = "http://www.gamer.c... |
d0c04adb-ac85-4523-8b40-99f1fe5cfe6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-23 18:06:58", "repo_name": "EixoX/jetfuel", "sub_path": "/jetfuel-core/src/main/java/com/eixox/JetfuelException.java", "file_name": "JetfuelException.java", "file_ext": "java", "file_size_in_byte": 1154, "line... | https://github.com/EixoX/jetfuel | 271 | FILENAME: JetfuelException.java | 0.26588 | package com.eixox;
import java.lang.System.Logger;
/**
* Generic exceptions should never be thrown (squid:S00112). Using such generic
* exceptions as Error, RuntimeException, Throwable, and Exception prevents
* calling methods from handling true, system-generated exceptions differently
* than application-generate... |
275c4f87-1ea0-483c-a080-6dd9856bf6f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-12 01:08:15", "repo_name": "matt3327/Classwork", "sub_path": "/AdminDep.java", "file_name": "AdminDep.java", "file_ext": "java", "file_size_in_byte": 1117, "line_count": 49, "lang": "en", "doc_type": "code", "... | https://github.com/matt3327/Classwork | 259 | FILENAME: AdminDep.java | 0.250913 |
public class AdminDep extends CollegeAcc{
private String studentAddress;
private String studentEthnicity;
private String studentGender;
public AdminDep()
{
this(0,"","","","");
}
public AdminDep(int accNo, String name,String Address,String Ethnicity, String Gender)
{
super(accNo, name);
this.studentA... |
7227d5c5-748d-44ab-8961-412cefd5bc28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-12 07:41:13", "repo_name": "tomermusafi/MemoryGame", "sub_path": "/app/src/main/java/com/musafi/memorygame/game/Card.java", "file_name": "Card.java", "file_ext": "java", "file_size_in_byte": 1024, "line_count"... | https://github.com/tomermusafi/MemoryGame | 219 | FILENAME: Card.java | 0.236516 | package com.musafi.memorygame.game;
public class Card {
private int id;
private int image;
private boolean enable;
private boolean discovered;
public Card() {
}
public Card(int id, int image, boolean enable, boolean discovered) {
this.id = id;
this.image = image;
... |
7e6f2583-d5e2-4a66-aadd-4d54c2a25534 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-15 10:52:19", "repo_name": "teaphy/TodoAdvanced", "sub_path": "/app/src/main/java/advanced/todo/com/todoadvanced/base/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/teaphy/TodoAdvanced | 246 | FILENAME: BaseActivity.java | 0.264358 | package advanced.todo.com.todoadvanced.base;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import advanced.todo.com.todoadvanced.R;
import butterknife.BindView;
import butterknife.ButterKnife;
/**
* @author Tiany
* @de... |
4fa1b817-b131-409b-8c7d-112a54f1d3de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-08 01:30:12", "repo_name": "sunhaipeng1997/npc_platform", "sub_path": "/domain/src/main/java/com/cdkhd/npc/entity/GovernmentUser.java", "file_name": "GovernmentUser.java", "file_ext": "java", "file_size_in_byt... | https://github.com/sunhaipeng1997/npc_platform | 296 | FILENAME: GovernmentUser.java | 0.221351 | package com.cdkhd.npc.entity;
import com.cdkhd.npc.enums.StatusEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.*;
/**
* @Description
* @Author rfx
* @Date 2019-12-03
*/
@Setter
@Getter
@Entity
@Table(name = "government_user")
public class GovernmentUser extends... |
57548d1b-62b3-452b-84a1-da5c3252d04f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-23 20:31:02", "repo_name": "Lamborz/CRM", "sub_path": "/service/src/main/java/com/transport/service/RegistrationServiceImpl.java", "file_name": "RegistrationServiceImpl.java", "file_ext": "java", "file_size_in... | https://github.com/Lamborz/CRM | 180 | FILENAME: RegistrationServiceImpl.java | 0.268941 | package com.transport.service;
import com.transport.form.RegistrationForm;
import com.transport.model.Employee;
import com.transport.repository.EmployeeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
/*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.