blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
494cf438ecaf8801a7048ddaaacaf41c18f781fc | Java | sasaCas/MyApplication | /app/src/main/java/com/example/mac/myapplication/Alternativa_1_2_1.java | UTF-8 | 580 | 2.359375 | 2 | [] | no_license | package com.example.mac.myapplication;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
public class Alternativa_1_2_1 extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCr... | true |
fdc00bc1387108eee0011364451eb79dfafe74a8 | Java | Bantrip/qianghua | /src/main/java/com/banyou/backend/entity/ProductDesc.java | UTF-8 | 1,511 | 2.3125 | 2 | [] | no_license | package com.banyou.backend.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.apache.commons.lang3.StringUtils;
import com.fasterxml.jackson.a... | true |
718513061bb6707b727e85d22307341cd32b1a13 | Java | Vishanth/platform | /components/mediation/mediation-security/org.wso2.carbon.mediation.security.ui/src/main/java/org/wso2/carbon/mediation/security/vault/cipher/tool/CipherTool.java | UTF-8 | 6,160 | 2.1875 | 2 | [] | no_license | /*
* Copyright (c) 2005-2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.... | true |
2cf9b729d889a3fb958e35599cc253561eeacdcf | Java | andriewski/story-share_spring-boot_data_rest_security_websocket_postgres_heroku | /src/main/java/com/storyshare/boot/repositories/PostRepository.java | UTF-8 | 1,576 | 2.0625 | 2 | [] | no_license | package com.storyshare.boot.repositories;
import com.storyshare.boot.repositories.dto.PostDTO;
import com.storyshare.boot.pojos.Post;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springfra... | true |
8cea09d808bb8c7bdc234e587503255cbf5fbd5f | Java | tejas-patil9/Census-Profiling-Back | /src/main/java/CensusProfiling/Mod/services/AdminService.java | UTF-8 | 4,767 | 2.65625 | 3 | [] | no_license | package CensusProfiling.Mod.services;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import CensusProfiling.Mod.exception.DuplicateRecordException;
import CensusProfiling.Mod... | true |
2c3ce32d30bcf20e645a800e621207ce17bd8595 | Java | henqqqcs/catalogonet | /catalogonet/src/main/java/com/catalogonet/model/StatusPlano.java | UTF-8 | 457 | 2 | 2 | [] | no_license | package com.catalogonet.model;
public enum StatusPlano {
ATIVO("ATIVO"),
SUSPENSO("SUSPENSO"),
FINALIZADO("FINALIZADO"),
AGUARDANDO_CRIACAO_ANUNCIO("AGUARDANDO_CRIACAO_ANUNCIO"),
AGUARDANDO_PUBLICACAO("AGUARDANDO_PUBLICACAO"),
AGREGADO("AGREGADO");
private StatusPlano(String statusPlano) {
this.... | true |
22428babee144dbc8525cb1913cc5e3fc2954e73 | Java | pro100bega/htp6projects | /Hospital/src/by/htp6/hospital/bean/Patient.java | UTF-8 | 1,313 | 2.484375 | 2 | [] | no_license | package by.htp6.hospital.bean;
import java.io.Serializable;
public class Patient implements Serializable {
/**
*
*/
private static final long serialVersionUID = -4117081979441761136L;
private int id;
private String name;
private String surname;
private String diagnosis;
public... | true |
9fd7f78dfa21bcfa2584dde8992a4e62c2ecd0ff | Java | rgederin/spring-microservices | /licensing-service/src/main/java/com/gederin/cloud/licensing/service/LicenseService.java | UTF-8 | 3,981 | 2.21875 | 2 | [] | no_license |
package com.gederin.cloud.licensing.service;
import com.gederin.cloud.licensing.client.OrganizationDiscoveryClient;
import com.gederin.cloud.licensing.client.OrganizationFeignClient;
import com.gederin.cloud.licensing.client.OrganizationRestTemplateClient;
import com.gederin.cloud.licensing.model.License;
import com.... | true |
ea38ab2e9318cd5d1b82f1a11e36408e4117b815 | Java | yjjewg11/px | /src/main/java/com/company/news/rest/KDPhotoItemController.java | UTF-8 | 18,096 | 2 | 2 | [] | no_license | package com.company.news.rest;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Con... | true |
74ec1c0e17e68faef2747ca6f06df320a108fff6 | Java | luckmonkey/ArchitectureSample | /UserCenterModule/src/main/java/me/newtrekwang/usercenter/data/protocal/SMSPhoneForm.java | UTF-8 | 966 | 2.546875 | 3 | [] | no_license | package me.newtrekwang.usercenter.data.protocal;
/**
* @author newtrekWang
* @fileName SMSPhoneForm
* @createDate 2018/10/10 10:52
* @email 408030208@qq.com
* @desc 获取短信验证码json表单
*/
public class SMSPhoneForm {
/**
* language : ch
* phone : 18683668831
*/
private String language;
pri... | true |
c49a03fa1452bee86e4d6024390e6531c9bd19a9 | Java | KyleZhang8619/KC_WebPos | /src/test/java/DEMO/PracticeOnTestng.java | UTF-8 | 585 | 2.09375 | 2 | [] | no_license | package DEMO;
import org.testng.annotations.*;
public class PracticeOnTestng {
@BeforeClass
public void beforeClass(){
System.out.print("beforeClass \n");
}
@BeforeTest
public void beforeTest(){
System.out.print("beforeTest \n");
}
@Test
public void aFastTest(){
System.out.print("aFastT... | true |
6359a54518c29966eb064d64d78e409bb773ae5c | Java | wsjhnsn/BoofCV | /evaluation/visualization/src/boofcv/alg/sfm/d2/Motion2DPanel.java | UTF-8 | 4,504 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... | true |
8fa829eb2009d9d1e5e0ea8f4ef785ffa1c5dc22 | Java | JunSmith/Word-Cloud | /src/ie/gmit/tests/Tests.java | UTF-8 | 874 | 2.25 | 2 | [] | no_license | package ie.gmit.tests;
import org.junit.*;
import ie.gmit.sw.*;
public class Tests
{
private WordCloudFactory wcg;
@Before
public void create()
{
wcg = new WordCloudFactory();
}
@After
public void destroy()
{
wcg = null;
}
@Test
public void validFile() throws Exception
{
wcg.makeCloud("./res... | true |
2de49e4ce2ad1d8b277d89b5e5a681c19746e6a3 | Java | rmalav15/SparkJavaCollection | /MLModule/src/main/java/com/mlmodule/HousePriceFields.java | UTF-8 | 1,075 | 2.453125 | 2 | [] | no_license | package com.mlmodule;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.SparkSession;
public class HousePriceFields {
public static void main(String[] args) {
Logger.getLogger("org.apache").setL... | true |
b46e4dffcf9cb9f6d4cf5557cd8f1299e1bfb1fd | Java | bob-walters/burlap | /src/main/java/burlap/domain/singleagent/rlglue/RLGlueEnvironment.java | UTF-8 | 8,220 | 2.375 | 2 | [
"Apache-2.0"
] | permissive | package burlap.domain.singleagent.rlglue;
import burlap.behavior.functionapproximation.dense.DenseStateFeatures;
import burlap.mdp.auxiliary.StateGenerator;
import burlap.mdp.core.state.State;
import burlap.mdp.core.action.ActionType;
import burlap.mdp.singleagent.SADomain;
import burlap.mdp.singleagent.environment.En... | true |
8c1932d1e6222ba66eabb3e47d3a25eb432027a6 | Java | blfjvkwfn/mzw | /juc/src/main/java/condition/ConditionTest.java | UTF-8 | 241 | 1.929688 | 2 | [
"Apache-2.0"
] | permissive | package condition;
/**
* @author Jonathan Meng
* @date 23/04/2019
*/
public class ConditionTest {
public static void main(String[] args) {
new Thread(()->{
}).start();
new Thread(()->{
}).start();
}
}
| true |
dd9ed822444404a4102a4487a9347401690254fb | Java | IAlamro/available-hotels | /jax-rs-client/src/main/java/com/majid/availablehotels/RestClientImpl.java | UTF-8 | 888 | 2.40625 | 2 | [] | no_license | package com.majid.availablehotels;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
public class RestClientImpl<R> implements RestClient<R> {
private final Client client = ClientBuilder.newClient();
private fina... | true |
69f622e8532bb2e48af5036cdb5e9d3d0d16cebb | Java | datebackk/spring-chat | /service/src/main/java/service/service/RoleService.java | UTF-8 | 188 | 1.945313 | 2 | [] | no_license | package service.service;
import model.model.Role;
import model.model.RoleName;
import java.util.Optional;
public interface RoleService {
Optional<Role> findByName(RoleName name);
}
| true |
51452ebf13d21fb394846322cd7745887bbe75b2 | Java | ktualhu/learnJava | /BubbleSort.java | UTF-8 | 898 | 3.765625 | 4 | [] | no_license | import java.util.Random;
public class BubbleSort {
public static void main(String[] args) {
Random rand = new Random();
int a[] = new int[10];
int t = 0;
for(int i = 0; i < a.length; i++) {
a[i] = rand.nextInt(100);
}
System.out.println("Bas... | true |
e9f4426b75f6b908e5f2da16285f0ffd8ede093b | Java | Luki36/projektzajecia | /src/com/codewithluki/product/Overcoat.java | UTF-8 | 456 | 2.609375 | 3 | [] | no_license | package com.codewithluki.product;
public class Overcoat implements Product {
@Override
public double getPrice() {
return 4300;
}
@Override
public String getName() {
return "Burton";
}
@Override
public double getWeight() {
return 2.3;
}
@Override
pu... | true |
598bc23b4b947c3d233197a7f80911bc4db1380f | Java | x-blood/ipa-fe-algorithm-java | /src/fe2019/spring/algo.java | UTF-8 | 2,799 | 3.046875 | 3 | [] | no_license | package fe2019.spring;
public class algo {
private int AdjustLength(int length) {
return length - 1;
}
public int BitapMatch(char[] Text, char[] Pat) {
int Goal, Status;
int[] Mask = new int[27];
int i, TextLen, PatLen;
TextLen = AdjustLength(Text.length);
... | true |
ceb2cd516e79bdab3ec2c65b74dac73b8b91d6e4 | Java | phwd/quest-tracker | /hollywood/com.oculus.updater-OSUpdater/sources/com/oculus/updater/init/AppInitializer.java | UTF-8 | 2,607 | 2.03125 | 2 | [] | no_license | package com.oculus.updater.init;
import com.facebook.debug.log.BLog;
import com.facebook.inject.InjectorLike;
import com.facebook.inject.Lazy;
import com.facebook.ultralight.AutoGeneratedAccessMethod;
import com.facebook.ultralight.AutoGeneratedFactoryMethod;
import com.facebook.ultralight.Dependencies;
import com.fac... | true |
ea87802f2a04dc8d719d88cf9aaa95b4d4a6b8a8 | Java | SoonPoong-Hong/mdsal | /binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/api/BindingCodecTreeNode.java | UTF-8 | 7,233 | 1.867188 | 2 | [] | no_license | /*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... | true |
d826022f425714147d60c8d3071f4f89436e97ae | Java | beifeng15/Template | /spring_Bean_test/src/main/java/com/wu/config/MyConditionalImpl.java | UTF-8 | 880 | 2.46875 | 2 | [] | no_license | package com.wu.config;
import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;
import org.springframework.util.MultiValueMap;
/**
* @auther Mr.Wu
* @date 2021/6/26 10:57
*/
public class MyCo... | true |
67fb9723886e33032cb46fc2ccf9efb0f6d06248 | Java | rodolphoalcantara/FaculdadeADS | /2021/2Sem/Faculdade-ADS/Workspace Eclipse/ListaExercicios2/src/Ex01.java | ISO-8859-1 | 280 | 3.265625 | 3 | [] | no_license |
public class Ex01 {
//1. Faa um programa que mostre todos os nmeros inteiros de 1 a 50. Use o lao WHILE
public static void main(String[] args) {
int contador = 1;
while(contador <=50) {
System.out.println(contador);
contador++;
}
}
}
| true |
cac2f2304d9657680838bcdc0dabf2b8eca0f8f1 | Java | snowflakedb/snowflake-kafka-connector | /src/test/java/com/snowflake/kafka/connector/internal/InternalStageIT.java | UTF-8 | 9,630 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | package com.snowflake.kafka.connector.internal;
import com.snowflake.kafka.connector.SnowflakeSinkConnectorConfig;
import com.snowflake.kafka.connector.Utils;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.util.List;
import java.util.Map;
import j... | true |
5e09886d5f85009fa7be369fb4f8c572f7ecc506 | Java | chen1044316902/cc_app | /src/com/liaoliao/content/dao/ContentKindDao.java | UTF-8 | 160 | 1.804688 | 2 | [] | no_license | package com.liaoliao.content.dao;
import com.liaoliao.content.entity.ContentKind;
public interface ContentKindDao {
ContentKind findByName(String name);
}
| true |
e04298acad3672529f256c3cc6e3e64620da7453 | Java | fcamacho0109/VT2018 | /src/main/java/Core/models/Calendarios.java | UTF-8 | 468 | 2.6875 | 3 | [] | no_license | package Core.models;
public class Calendarios{
public int id;
public String name;
public int style;
public Calendarios(int id, String name, int style) {
this.id = id;
this.name = name;
this.style = style;
}
@Override
public String toString() {
return "Calen... | true |
a9b5c9e20d3503ff05e047718de765d12ddd70a9 | Java | lihj1988/JiuCode | /app/src/main/java/com/jiuwang/buyer/activity/EditAccountActivity.java | UTF-8 | 6,210 | 2.03125 | 2 | [] | no_license | package com.jiuwang.buyer.activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.jiuwang.buyer.R;
imp... | true |
5a4bbc326170ae3fcb3b598e6906b1480797a07a | Java | yehoudie/tagman | /src/test/java/de/yehoudie/utils/Math2Test.java | UTF-8 | 1,670 | 2.859375 | 3 | [] | no_license | /**
*
*/
package de.yehoudie.utils;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
/**
* @author yehoudie
*
*/
public class Math2Test
{
/**
* Test method for {@link de.yehoudie.utils.Math2#randRange(... | true |
1f5745681ebd5c6244b12568e8c3ea3086807ee4 | Java | RobertHSchmidt/jedit | /plugins/SpellCheck/tags/SpellCheckR006/src/main/cswilly/spell/AspellEngine.java | UTF-8 | 5,660 | 2.625 | 3 | [] | no_license | /*
* $Revision$
* $Date$
* $Author$
*
* Copyright (C) 2001 C. Scott Willy
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or any later version.
*
... | true |
1981f37e748f4c57b2b8fb85bf3079098e47236f | Java | maohieng/BoomDB | /library/src/main/java/com/boombile/boomdb/DatabaseParams.java | UTF-8 | 3,692 | 3.046875 | 3 | [] | no_license | package com.boombile.boomdb;
import android.content.ContentValues;
public class DatabaseParams {
public static class Insert {
/** the table to insert the row into **/
public String table;
/**
* optional; may be null. SQL doesn't allow inserting a completely empty
* row without naming at least... | true |
72b797222f45c6c0a60e98d2a93540f3faa908bf | Java | Muizz-Sho/PropertyFinder | /app/src/main/java/com/official/ihome/EditProfileActivity.java | UTF-8 | 7,983 | 1.898438 | 2 | [] | no_license | package com.official.ihome;
import android.app.ProgressDialog;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActiv... | true |
d37407dffc0953d1190ac6e7e268d53618be6569 | Java | phongvt3110/HrManager | /src/main/java/castisvn/controllers/UserController.java | UTF-8 | 3,093 | 2.125 | 2 | [] | no_license | package castisvn.controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.spring... | true |
a71ec3266b1db54c2ff78c681376b27fac6072f9 | Java | angeljcc/PaintAdvanced_SMM | /src/paintbasico2d/RestaOp.java | UTF-8 | 605 | 2.875 | 3 | [] | no_license | /*
* 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 paintbasico2d;
import java.awt.image.BufferedImage;
/**
* Clase para realizar la operacion Resta de dos Imagenes... | true |
f159d7706e8cdf4838050ad0032c06d973e4ac97 | Java | teemo2009/wyc-server | /wyc-biz/wyc-biz-driver/src/main/java/com/ga/wyc/dao/DriverDevMapper.java | UTF-8 | 421 | 1.859375 | 2 | [] | no_license | package com.ga.wyc.dao;
import com.ga.wyc.domain.entity.DriverDev;
public interface DriverDevMapper {
int deleteByPrimaryKey(Long id);
int insert(DriverDev record);
int insertSelective(DriverDev record);
DriverDev selectByPrimaryKey(Long id);
DriverDev selectOneSelective(DriverDev record);
... | true |
b97bcd03df4c9161e3124ce5d2889e626bab0248 | Java | blu28/arc-command-test | /src/main/java/frc/robot/commands/AutoCommand.java | UTF-8 | 733 | 2.28125 | 2 | [] | no_license | package frc.robot.commands;
import static frc.robot.Constants.AutoConstants.*;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import frc.robot.Constants.AutoConstants;
import frc.robot.subsystems.DriveSubsystem;
public class AutoCommand extends SequentialCommandGroup {
private final DriveSubsystem... | true |
0dad85839be520d6704b26367c16de5620e77e52 | Java | yannicnoller/qfuzz | /evaluation/subjects/themis_openmrs-core_unsafe/src/org/openmrs/attribute/BaseAttributeType.java | UTF-8 | 3,607 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | /**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | true |
450af54d62738defebd0932082aadee84dda2c79 | Java | MangKyu/FitbitAlert | /app/src/main/java/com/fitbitalert/View/Scan/ScanAdapter.java | UTF-8 | 2,484 | 2.375 | 2 | [] | no_license | package com.fitbitalert.View.Scan;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.fitbitalert.databinding.ItemDeviceBinding;
import com.polidea.rxandroidble2.scan.ScanResu... | true |
f136cd1bead47d509624a52ae098b7c806e53ab6 | Java | weson12138/mybatis_demo | /mybatis_2/src/main/java/com/weson/dao/AccountDao.java | UTF-8 | 145 | 1.71875 | 2 | [] | no_license | package com.weson.dao;
import com.weson.domian2.Account;
import java.util.List;
public interface AccountDao {
List<Account> findAll();
}
| true |
fdb89f2197cd554ee09842646b75b19a2c5ec70e | Java | IMUK23/practice | /dynamic_programminng/buy_sell_stocks_k_trasactions.java | UTF-8 | 1,251 | 2.890625 | 3 | [] | no_license | public class buy_sell_stocks_k_trasactions {
public int maxProfit(int k, int[] prices) {
int n=prices.length;
int[][] dp=new int[k+1][n+1];
for(int r=0;r<k+1;r++){
for(int i=0;i<n+1;i++){
if(i==0 || r==0){
dp[r][i]=0;
}... | true |
7d81511e864a5fa22481d95333508dbc34e22288 | Java | brunabal/scary_app | /ScaryApk/app/src/main/java/dev/br/scaryapk/WaitingForScare.java | UTF-8 | 1,200 | 2.28125 | 2 | [] | no_license | package dev.br.scaryapk;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
public class WaitingForScare extends Service {
private final String LOG_TAG = "WaitingForScare";
public WaitingForScare() {
}
@Override
public IBinder onBind(Int... | true |
1adf583d5195aa4b18ed12c37741ab370b7a447a | Java | YuanChenM/xcdv1.5 | /Services/msk-common-web/src/main/java/com/msk/common/interceptor/AuthoritieInterceptor.java | UTF-8 | 1,923 | 2.203125 | 2 | [] | no_license | package com.msk.common.interceptor;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.hoperun.core.utils.StringUtil;
import com.msk.common.config.ConfigManager;
import com.msk.common.utils.AuthoritieUtils;
import org.slf4j.Logger;
import or... | true |
8c817564b8cbb54de26332e0b51b03b247a608e1 | Java | UrbanMC-Devs/PlaytimePro | /src/main/java/me/elian/playtime/db/SQLMessages.java | UTF-8 | 1,124 | 2.53125 | 3 | [] | no_license | package me.elian.playtime.db;
import java.io.*;
import java.text.MessageFormat;
import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;
public class SQLMessages {
private static SQLMessages instance = new SQLMessages();
private ResourceBundle bundle;
private SQLMessages() {
lo... | true |
17137089bf7c448ec7ca4d9caae04333d21b7db7 | Java | rffzahra/Global-Movie-Database | /EAD/src/java/com/hibernate/entity/Movie.java | UTF-8 | 2,914 | 2.515625 | 3 | [] | no_license | package com.hibernate.entity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.... | true |
d5dc10e97037d675ce572f39ccbe11068d73a354 | Java | mashariqk/excel2tab | /src/main/java/com/excel2tab/util/OrderLines.java | UTF-8 | 655 | 2.421875 | 2 | [
"Unlicense"
] | permissive | package com.excel2tab.util;
/**
*
* @author Mashariq Khan
* POJO file to hold Order line data parsed from the excel file
*
*/
public class OrderLines {
private String productCode;
private String quantity;
private String route;
public String getProductCode() {
return productCode;
}
pub... | true |
66c5feb913475d9782e49100b12ccc2d9313ae5d | Java | forgetdomani/OFD | /src/test/java/nvision/ofd/pages/MainPage.java | UTF-8 | 784 | 2.1875 | 2 | [] | no_license | package nvision.ofd.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class... | true |
13f38cb9c9e8823a4c2f61b5ac5c70c9098608dc | Java | Tkirkwood/DataMigrationProject | /Data Migration Project/src/main/java/com/sparta/thomas/util/LoadProperties.java | UTF-8 | 517 | 2.25 | 2 | [] | no_license | package com.sparta.thomas.util;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
public class LoadProperties {
private static Properties properties = new Properties();
public static String getProperty(String property) {
try {
properties.lo... | true |
2fcfa4e8433d136b1953cb5ff914f00a70e51be3 | Java | vikrambheemidi/hadoop | /maxselling.java | UTF-8 | 2,690 | 2.359375 | 2 | [] | no_license | import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.FloatWritable;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.a... | true |
53f141adb9bd4d67035a5f633d0443d4d47c8b2f | Java | ikkagg/irakli-giorgadze-vv | /irakli-giorgadze-v1/src/ge/edu/currency/service/impl/Main.java | UTF-8 | 807 | 2.640625 | 3 | [] | no_license | package ge.edu.currency.service.impl;
import ge.edu.btu.currency.service.CurrencyService;
import ge.edu.btu.currency.service.impl.CurrencyServiceImpl;
public class Main extends CurrencyServiceImpl {
public static logger logger = logger.getLogger(Main.class);
public static <b, a, first, first, string> void ma... | true |
e8ff4ba7e1dc410efee7ff2cfc4dbe0d1ae67434 | Java | 479379222/android-async-http-master-02 | /myasyntest/src/main/java/com/example/myas/myasyntest/http/CookieActivity.java | UTF-8 | 938 | 2.03125 | 2 | [
"Apache-2.0"
] | permissive | package com.example.myas.myasyntest.http;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.example.myas.myasyntest.R;
import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.PersistentCookieStore;
import cz.msebera.android.httpclient.impl.cookie.BasicClientCo... | true |
009dec046bc90f06c5cdb0ae95934a02b783efb5 | Java | kLeZ/ComicsDB | /comics-importer/src/it/d4nguard/comics/feed/FeedReader.java | UTF-8 | 816 | 2.5 | 2 | [] | no_license | package it.d4nguard.comics.feed;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.io.FeedException;
import com.sun.syndication.io.SyndFeedInput;
import com.sun.syndication.io.XmlReader;
public class FeedR... | true |
13114c65ee7a17b08152c1a7cab222678eb3db79 | Java | sirinath/Terracotta | /dso/tags/4.3.0.0.23/common/src/main/java/com/tc/util/concurrent/Timer.java | UTF-8 | 4,971 | 2.859375 | 3 | [] | no_license | /*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*/
package com.tc.util.concurrent;
import java.util.concurrent.RejectedExecutionException;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
/**
* @author Eugene Shelestovich
*/
public i... | true |
dfadc7b273e0047ee1d9046ce23a28903b3bfc75 | Java | kevin-doolaeghe/se2a4_s8_cmo | /tp-bases-3/src/fr/kevin/logic/Boolean.java | UTF-8 | 317 | 2.484375 | 2 | [] | no_license | package fr.kevin.logic;
public abstract class Boolean {
public abstract boolean value();
public abstract boolean not();
public abstract boolean and(Boolean bool);
public abstract boolean or(Boolean bool);
public abstract boolean xor(Boolean bool);
public abstract String toString();
}
| true |
e96101308981a47c510096bd74a29a5f5b856a9b | Java | kosi2801/contours | /contours/src/main/java/at/fhj/swd07/contours/exception/FileIOGenerationException.java | UTF-8 | 647 | 2.03125 | 2 | [] | no_license | /* ***************************************************************************
* DynamicFileParser
* (c) 2009 by
* Andreas Hoefler (kosi2801 et gmail)
* Part of a project for the class at the USoASc FH Joanneum - SWD07
****************************************************************************/
package a... | true |
8bc7678b92040b66485b7b1fe25c0195355985bb | Java | StrangerNing/tools | /tools-os/src/main/java/me/znzn/tools/module/user/entity/enums/SexEnum.java | UTF-8 | 805 | 2.859375 | 3 | [] | no_license | package me.znzn.tools.module.user.entity.enums;
/**
* @author zhuzening
* @date 2019/11/19
* @since 1.0
*/
public enum SexEnum {
/**
* 男
*/
MALE(0, "男"),
/**
* 女
*/
FEMALE(1, "女"),
/**
* 未知
*/
UNKNOWN(2, "未知");
private Integer index;
private String... | true |
69375c113028ce6e84d7f8bb4ba9074eb7003f23 | Java | Pia12/TallerSesion3API | /restapi/ProyectoRest/src/test/java/runner/MyStepdefsTaller02.java | UTF-8 | 3,351 | 2.4375 | 2 | [] | no_license | package runner;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import io.restassured.http.ContentType;
import io.restassured.response.Response;
import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatche... | true |
76bff709528ca531133a832ac775347359baa3db | Java | SpikedWhite/explosion-demo-master | /Rock.java | UTF-8 | 729 | 2.890625 | 3 | [] | no_license | import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Rock here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Rock extends Actor
{
/**
* Act - do whatever the Rock wants to do. This method is called whenever... | true |
fdd600e45a1450134014aaaae0f82d1de1a1777d | Java | JBassett/cadpage | /cadpage/src/net/anei/cadpage/parsers/TX/TXMcLennanCountyParser.java | UTF-8 | 1,551 | 2.171875 | 2 | [] | no_license | package net.anei.cadpage.parsers.TX;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.anei.cadpage.parsers.MsgInfo.Data;
import net.anei.cadpage.parsers.dispatch.DispatchProQAParser;
public class TXMcLennanCountyParser extends DispatchProQAParser {
public TXMcLennanCountyParser() {
s... | true |
9bce08241b4383eb9495840cbdee06ad03b09abc | Java | stormbreaker07/competitve-programming-using-java | /Learn Spring Framework/one_to_one_mapping/src/main/java/entity/Address.java | UTF-8 | 352 | 2.203125 | 2 | [] | no_license | package entity;
import javax.persistence.Embeddable;
@Embeddable
public class Address {
public String state;
public String city;
public String Pincode;
public Address(String state, String city, String pincode) {
this.state = state;
this.city = city;
Pincode = pincode;
}
... | true |
11fa8f065d0a1efcf683757ad4d09d11f1eca90c | Java | WBPierre/Veg-N-Bio | /VnB/src/Excel.java | UTF-8 | 1,825 | 2.90625 | 3 | [
"MIT"
] | permissive |
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.x... | true |
1cc30d9eb8b7e92c1656e783d9bc6ab5aa1bf845 | Java | weisJ/Mima | /mima-app/src/main/java/org/pbjar/jxlayer/plaf/ext/transform/TransformLayout.java | UTF-8 | 6,049 | 2.140625 | 2 | [
"MIT"
] | permissive | /*
Copyright (c) 2009, Piet Blok
All rights reserved.
<p>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
<p>
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | true |
7bcb35a08a597c7e97705dfb5bbcdb4d3036ba23 | Java | hoopdroid/omstu_android | /app/src/main/java/savindev/myuniversity/NewsFragment.java | UTF-8 | 3,348 | 2.03125 | 2 | [] | no_license | package savindev.myuniversity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.app.Fragment;
import android.view.Display;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vi... | true |
7bffa5c382bfa32166c8960e0e46a9cd6ca72713 | Java | project-ncl/dependency-analysis | /reports-backend/src/main/java/org/jboss/da/products/api/Product.java | UTF-8 | 711 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | package org.jboss.da.products.api;
import org.jboss.da.listings.model.ProductSupportStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
*
* @author Honza Brázdil <jbrazdil@redhat.com>
*/
@Data
@EqualsAndHashCode(exclude = { "status" })
@AllArgsConstructor
publi... | true |
d178ff1372ba5c17375299b97d46103c6403ac47 | Java | whistlinwilly/SMAART | /workspace/Projector/src/projector/client/NetClient.java | UTF-8 | 5,379 | 2.609375 | 3 | [] | no_license | package projector.client;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import project... | true |
6994a55fa41c67a51e09b2c502ca3e534ea3515c | Java | boxfox619/PaperOut | /app/src/main/java/com/hellochain/paperoutapplication/view/paperlist/LinearListUitl.java | UTF-8 | 3,052 | 2.515625 | 3 | [] | no_license | package com.hellochain.paperoutapplication.view.paperlist;
import android.content.Context;
import android.view.View;
import android.widget.LinearLayout;
import com.hellochain.paperoutapplication.R;
import java.util.List;
/**
* Created by boxfox on 2017-08-29.
*/
public class LinearListUitl {
public static L... | true |
49c8d4c923092b6a6adffc8c469fd7a966c85c80 | Java | FrancescoDeCarlo98/homebanking | /src/it/miaBanca/sportello/view/EsempioSwing.java | UTF-8 | 595 | 2.203125 | 2 | [] | no_license | package it.miaBanca.sportello.view;
import it.miaBanca.sportello.view.Panel.AdminPanel;
import it.miaBanca.sportello.view.Panel.HomePagePanel;
public class EsempioSwing {
public static void main(String args[]) {
Frame frame = new Frame();
frame.setLocationRelativeTo(null);
// Frame frame ... | true |
a085455898716e52628fc654dd9a5ac9b237351f | Java | shiyu1994/O2OCompetition | /O2OStage2/src/features/UserCount.java | UTF-8 | 3,322 | 2.375 | 2 | [] | no_license | package features;
import java.io.IOException;
import java.util.Iterator;
import com.aliyun.odps.OdpsException;
import com.aliyun.odps.data.Record;
import com.aliyun.odps.data.TableInfo;
import com.aliyun.odps.mapred.JobClient;
import com.aliyun.odps.mapred.MapperBase;
import com.aliyun.odps.mapred.ReducerBase;
import... | true |
6cdf42e5a8259ed3ae40f92d4841a75c6ad3e9bb | Java | Magda7Lena/Driva-Api | /src/main/java/com/driva/drivaapi/exception/DateAlreadyExistException.java | UTF-8 | 188 | 1.976563 | 2 | [] | no_license | package com.driva.drivaapi.exception;
public class DateAlreadyExistException extends RuntimeException {
public DateAlreadyExistException(String message) {
super(message);
}
}
| true |
0e83f4fb8f6214051482eb7ec94dfb1b138ca98f | Java | InfoCycle/SDOffice | /src/com/info/domain/TLinkman.java | UTF-8 | 3,292 | 2.203125 | 2 | [] | no_license | package com.info.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* TLinkman entity. @author MyEclipse Persistence Tools
*/
@Entity
@Table(name = "T_Linkman", schema = "dbo", catalog = "SDOffice")
public class TLin... | true |
a717b2195315b220a69ffea418ccfbde85724f15 | Java | moutainhigh/demo | /projectSVN/.svn/pristine/5f/5fd007f3cfc85ccb362988395e4af492830534cf.svn-base | UTF-8 | 896 | 1.984375 | 2 | [] | no_license | package com.zacx.gateway.passenger.dto.basic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
/**
* @desc
* @version 1.0
* @author Liang Jun
* @date 2018年10月04日 19:31:39
**/
@ApiModel(value = "InsuranceResult", descript... | true |
6f2634432efb4e3528017573d8a38c462f0a9926 | Java | Boyarsky1997/springbootstarterparent | /src/main/java/com/github/boyarsky1997/springboot/controllers/ClientController.java | UTF-8 | 4,603 | 2.28125 | 2 | [] | no_license | package com.github.boyarsky1997.springboot.controllers;
import com.github.boyarsky1997.springboot.models.Client;
import com.github.boyarsky1997.springboot.models.Role;
import com.github.boyarsky1997.springboot.models.Status;
import com.github.boyarsky1997.springboot.repo.ClientRepo;
import com.github.boyarsky1997.spri... | true |
60a10964a477366f71023c5a72a026d8a6b09bef | Java | consulo/consulo-twig | /src/main/java/consulo/twig/TwigPairedBraceMatcher.java | UTF-8 | 1,316 | 1.9375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2013-2016 consulo.io
*
* 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 ... | true |
f34bf255aeba3920d7145bfae5d6c3eb542036bd | Java | XDebuff/Zeus | /zeus/src/main/java/com/zeus/ui/dialog/HintDialog.java | UTF-8 | 428 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package com.zeus.ui.dialog;
import android.app.AlertDialog;
import android.content.Context;
public class HintDialog {
private AlertDialog mAlertDialog;
public HintDialog(Context context) {
super();
mAlertDialog = new AlertDialog.Builder(context).create();
}
public void... | true |
ccd012005017403fde6ca84f58fac0d495131fda | Java | klinovp/pronto | /src/uk/ac/manchester/cs/pronto/explanation/DivideAndConquerStrategyImpl.java | UTF-8 | 3,415 | 2.4375 | 2 | [
"Apache-2.0"
] | permissive | /**
*
*/
package uk.ac.manchester.cs.pronto.explanation;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.mindswap.pellet.utils.ATermUtils;
import aterm.ATermAppl;
import aterm.AT... | true |
9fb5852eb6051687ffda83e2fd30692bb32ea670 | Java | ludovicianul/geolog | /src/main/java/com/insidecoding/geolog/api/dto/CsvConvertor.java | UTF-8 | 404 | 2.328125 | 2 | [
"MIT"
] | permissive | package com.insidecoding.geolog.api.dto;
import java.util.List;
import org.springframework.stereotype.Component;
@Component
public class CsvConvertor {
public String toCsv(List<SimpleAggr> items) {
StringBuilder builder = new StringBuilder();
builder.append("label,value\n");
for (SimpleAggr aggr : items) {
... | true |
f2bcc436e1d62440ac5ec887a5eb217348f37d8a | Java | bitmos/Docker | /src/main/java/com/jetbrains/MyWebApp/MyServlet.java | UTF-8 | 2,411 | 2.75 | 3 | [] | no_license | package com.jetbrains.MyWebApp;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http... | true |
9585174279776903d5bf36bb72bd92857d73f7d3 | Java | lingco520/scrs_jichu | /scenic-center-starter/src/main/java/com/daqsoft/viscenter/support/UserDetailsSupportProviderImpl.java | UTF-8 | 1,846 | 2.265625 | 2 | [] | no_license | package com.daqsoft.viscenter.support;
import com.daqsoft.framework.entity.SysRole;
import com.daqsoft.framework.entity.SysUser;
import com.daqsoft.framework.service.SysUserServiceImpl;
import com.daqsoft.framework.support.UserDetailsSupportProvider;
import com.daqsoft.framework.support.model.UserContext;
import com.d... | true |
cab5f20f3c96f1021580c6f6a072b21168d07b71 | Java | MCristoni/MovieTeller | /app/src/main/java/com/example/mathe/movieteller/adapters/TitleViewHolder.java | UTF-8 | 1,680 | 2.515625 | 3 | [] | no_license | package com.example.mathe.movieteller.adapters;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.RotateAnimation;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.mathe.movieteller.R;
import com.example.mathe.movieteller.classes.Videos... | true |
d341314fa2e08a7d721632426736464e2c3c2503 | Java | lpy2017/smart-cd- | /AppMaster/src/main/java/com/dc/appengine/appmaster/dao/IPackageDao.java | UTF-8 | 559 | 1.914063 | 2 | [] | no_license | package com.dc.appengine.appmaster.dao;
import java.util.List;
import java.util.Map;
import com.dc.appengine.appmaster.entity.Page;
public interface IPackageDao {
boolean savePackage(Map<String,Object> params);
Page listPackagesByPage(Map<String, Object> condition, int pageNum, int pageSize);
Map<String,Object> ... | true |
421117f0016ef85dd39011a9a86b3211bcf8c0f0 | Java | abeker/Literary-Association | /literary-association/src/main/java/com/lu/literaryassociation/entity/CommitteeVote.java | UTF-8 | 712 | 2.125 | 2 | [] | no_license | package com.lu.literaryassociation.entity;
import com.lu.literaryassociation.util.enums.WriterStatus;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
@Entity
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class... | true |
564b53267a05094b161d1dd976d463e17f172e38 | Java | Rolopens/CMPILER_SCANNER | /src/Function.java | UTF-8 | 286 | 1.859375 | 2 | [] | no_license | import java.util.ArrayList;
public class Function {
private String acc = ""; //public or private
private String name = "";
private String type = "";
private String value = "";
private ArrayList<Variable> params = new ArrayList<>();
public Function(){
}
} | true |
19d9d54ac99f49e4e1eb948a2e9b0abaa42e369a | Java | VN-Lf/GitNo3 | /src/com/nothing/vo/charge/Notice.java | UTF-8 | 2,315 | 2.296875 | 2 | [] | no_license | package com.nothing.vo.charge;
import javax.persistence.*;
import java.util.Date;
@Entity
@Table(name = "notice ")
public class Notice {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY,generator="tableGenerator")
@TableGenerator(name = "tableGenerator",initialValue =100, allocationSize = 1)
pri... | true |
e1ff61f805bf7345eebaedc513011082a5acc4f4 | Java | rpostai/dp-visitor | /src/com/rp/visitor/exercicio/ProdutoArroz.java | UTF-8 | 468 | 2.453125 | 2 | [] | no_license | package com.rp.visitor.exercicio;
import java.math.BigDecimal;
public class ProdutoArroz implements Produto {
private BigDecimal icmsRetido;
@Override
public void reterICMS(ICMS icms) {
icmsRetido = icms.calcular(this);
}
@Override
public TipoProduto getTipoProduto() {
return TipoProduto.TIPO_A;
}
pub... | true |
48cc3938179dcabc5bb3249ac53e2c278869f45d | Java | Grandaunt/wechatVoice | /ContentResolverDemo-master/app/src/main/java/www/branch/com/contentproviderdemo/RecyclerviewItemDividerDeoration.java | UTF-8 | 3,653 | 2.625 | 3 | [
"Apache-2.0"
] | permissive | package www.branch.com.contentproviderdemo;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.RecyclerView;
import android.view.View;
/**
* Created by Branch on 2016-7-25.
*
* rec... | true |
f86bd3a5bc332e3f5a09b7b4de86b1342f8fa7e7 | Java | sengeiou/wqb_yzj | /bookkeeper/src/main/java/com/wqb/dao/subject/impl/SubjectDaoImpl.java | UTF-8 | 4,670 | 2.234375 | 2 | [] | no_license | package com.wqb.dao.subject.impl;
import com.wqb.common.BusinessException;
import com.wqb.common.Log4jLogger;
import com.wqb.dao.subject.SubjectDao;
import com.wqb.model.SubExcel;
import com.wqb.model.Subject;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.s... | true |
988d509dfc880319291c3ef4cde6bd0cb54fc083 | Java | dineshkrishnan24/supportserv | /src/main/java/com/growfin/supportserv/exceptions/CryptException.java | UTF-8 | 185 | 2.09375 | 2 | [] | no_license | package com.growfin.supportserv.exceptions;
public class CryptException extends RuntimeException {
public CryptException(String msg,Exception e) {
super(msg,e);
}
}
| true |
548122310d6818b4013009966808923a5171f9f1 | Java | axeliart/SampleweatherTest | /app/src/main/java/com/example/ray/weathertest/DetailView.java | UTF-8 | 2,868 | 2.40625 | 2 | [] | no_license | package com.example.ray.weathertest;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.ImageView;
import android.widget.TextView;
import java.text.SimpleDateFormat;
import java.util.Locale;
public class DetailView... | true |
5a01772d4ded55f22031290f1d64f05ee2dece38 | Java | magmaOffenburg/magmaCompetition | /src/main/java/magma/tools/competition/presentation/view/WizardPageOne.java | UTF-8 | 3,117 | 2.421875 | 2 | [] | no_license | package magma.tools.competition.presentation.view;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComboBox;
import javax.swing.... | true |
b0754919d0d0e8bb4a044bc4db601e1df62a6266 | Java | RundeCrew/TaskList_SpringMVC_Jpa | /src/main/java/co/grandcircus/TaskList/UserController.java | UTF-8 | 2,096 | 2.34375 | 2 | [] | no_license | package co.grandcircus.TaskList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframewor... | true |
8416eb0955e542cf3728bb5f3b18aef88fd2b612 | Java | flycat0112/springArt | /spring-bean-aware/src/main/java/flycat/service/impl/RC6.java | UTF-8 | 1,950 | 2.28125 | 2 | [] | no_license | package flycat.service.impl;
import flycat.service.Cryptions;
import flycat.service.Decryption;
import flycat.service.Encryption;
import flycat.service.Password;
import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Component;
import java.security.Key;
/**
* @FileName: <p>Dec... | true |
474df76b3d0381643a292970baa1a7c7689dca09 | Java | dashuxia888/ykyzl | /src/main/java/com/github/pengpan/util/DateUtil.java | UTF-8 | 3,178 | 2.828125 | 3 | [] | no_license | package com.github.pengpan.util;
import com.alibaba.fastjson.JSON;
import com.github.kevinsawicki.http.HttpRequest;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.Arrays;
import jav... | true |
e875412b9a30beb09bf53194ba01a4a3e200bcb4 | Java | sunnykaka/uams | /uams-server/src/main/java/com/ejushang/uams/server/domain/Stub.java | UTF-8 | 3,109 | 2.09375 | 2 | [] | no_license | package com.ejushang.uams.server.domain;
import com.ejushang.uams.server.common.util.EntityClass;
import com.ejushang.uams.server.common.util.OperableData;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* ... | true |
9a17a13c75c450e95c8d00dcb10e35b5d4314568 | Java | wangyuzhang/confucian | /confucian-core/src/main/java/confucian/shutterbug/ElementSnapshot.java | UTF-8 | 709 | 2.28125 | 2 | [] | no_license | package confucian.shutterbug;
import java.awt.image.BufferedImage;
import java.awt.image.RasterFormatException;
import confucian.exception.FrameworkException;
import confucian.shutterbug.utils.Coordinates;
import confucian.shutterbug.utils.ImageProcessor;
public class ElementSnapshot extends Snapshot {
ElementS... | true |
b4baf05a267712c420870370bf96cc46d18edfa5 | Java | EderAndre/wsssp | /src/main/java/br/def/rs/defensoria/wsssp/repository/search/AssistidosSearchRepository.java | UTF-8 | 364 | 1.554688 | 2 | [] | no_license | package br.def.rs.defensoria.wsssp.repository.search;
import br.def.rs.defensoria.wsssp.domain.Assistidos;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
/**
* Spring Data Elasticsearch repository for the Assistidos entity.
*/
public interface AssistidosSearchRepository extends El... | true |
944d8740cf4ce8f6f12953210adddad5a9ffc513 | Java | HollmanN/sme-test | /src/main/java/com/belatrix/smetest/domain/WebSiteAnalysis.java | UTF-8 | 1,283 | 2.4375 | 2 | [] | no_license | package com.belatrix.smetest.domain;
import java.util.List;
import java.util.stream.Collectors;
public class WebSiteAnalysis {
private WebSite webSite;
private List<WordClassification> contentClassification;
public WebSiteAnalysis(WebSite webSite) {
this.webSite = webSite;
}
public WebSi... | true |
32ea6e3462b875e4595ebd723551034c2b24dc84 | Java | hubnspoke/JSPprj | /src/com/newlecture/jspprj/taglib/ForTag.java | UTF-8 | 1,202 | 2.234375 | 2 | [] | no_license | package com.newlecture.jspprj.taglib;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
public class ForTag extends TagSupport {
private int index=0;
private int count=5;
private String var=null;
private String begin=null;
private String end=null;
public String getBegin() {
... | true |
1e86f1233a3555dc2394c358973c19edaca3ad30 | Java | devajr/tg_fatec | /src/fatec/tg/view/GuiArquivoRetorno.java | UTF-8 | 54,365 | 1.859375 | 2 | [] | no_license | /*
* 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 fatec.tg.view;
import fatec.tg.controle.Admin;
import fatec.tg.controle.Conexao;
import fatec.tg.controle.DaoAgencia;
import f... | true |
72366bce98da89103c74e7795c953d965ba47cf7 | Java | pepeysusmapas/allocalgis | /webapps/GuiaUrbana/LOCALGIS-Core/src/main/java/com/localgis/web/core/model/LocalgisLegend.java | WINDOWS-1252 | 1,859 | 2.125 | 2 | [] | no_license | /**
* LocalgisLegend.java
* MINETUR, Government of Spain
* This program is part of LocalGIS
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your opti... | true |
090686295746781d41f87c25a07ad12fd6a75ea6 | Java | Sepiidae/cis5210-module-8 | /src/main/java/edu/fit/module8/entity/Main.java | UTF-8 | 442 | 1.859375 | 2 | [] | no_license | /*
* 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 edu.fit.module8.entity;
/**
*
* @author rhianresnick
*/
public class Main {
public static void main( String[] args ) {
... | true |