text stringlengths 7 995k |
|---|
package it.alessandromencarini.droidtrailer;
import android.content.Context;
import java.util.ArrayList;
import java.util.List;
/**
* Created by alessandromencarini on 23/09/2014.
*/
public class CommentDatabaseHelper extends DatabaseHelper {
private CommentDao mCommentDao;
public CommentDatabaseHelper(C... |
package cz.metacentrum.perun.core.api.exceptions.rt;
@SuppressWarnings("serial")
public class ParentGroupNotExistsRuntimeException extends EntityNotExistsRuntimeException {
public ParentGroupNotExistsRuntimeException() {
super();
}
public ParentGroupNotExistsRuntimeException(Throwable cause) {
super(cause);
... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* The MIT License (MIT)
*
* Copyright 2021 Crown Copyright (Health Education England)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limita... |
package org.lanqiao.service;
public class MoneyRecordServiceImpl {
} |
/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of... |
package com.yahoo.test.SelNG.YUI.tests;
import static org.testng.Assert.fail;
import org.apache.log4j.Logger;
import org.testng.annotations.Test;
import com.yahoo.test.SelNG.YUI.library.DragAndDropReorder;
import com.yahoo.test.SelNG.framework.util.SelNGRetryAnalyzer;
public class DragAndDropTestReorder extends Com... |
package org.example.cp.oms.domain.step.submitorder;
import org.example.cp.oms.spec.exception.OrderException;
import org.example.cp.oms.domain.facade.mq.IMessageProducer;
import org.example.cp.oms.domain.model.OrderMain;
import org.example.cp.oms.domain.step.SubmitOrderStep;
import org.example.cp.oms.spec.Steps;
import... |
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.storage.common;
public final class Constants {
public static final int KB = 1024;
/**
* Constant representing a megabyte (Non-SI version).
*/
public static final int MB = 1024 * KB;... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* ... |
package com.google.appinventor.components.runtime.util;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.accounts.AuthenticatorException;
import android.accounts.OperationCanceledException;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Dialog... |
package pt.uminho.haslab.safeclient.helpers;
import org.apache.hadoop.hbase.HTableDescriptor;
import pt.uminho.haslab.hbaseInterfaces.ExtendedHTable;
import pt.uminho.haslab.safemapper.TableSchema;
import pt.uminho.haslab.smpc.exceptions.InvalidNumberOfBits;
import java.io.IOException;
public interface AdminProxy {
... |
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package android.support.v7.recyclerview;
public final class R {
public static final class anim {
public static int abc_fade_i... |
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 库存任务查询结果
*
* @author auto create
* @since 1.0, 2018-10-22 15:19:51
*/
public class StockTaskResult extends AlipayO... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package com.baeldung.performance;
import org.openjdk.jmh.annotations.*;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.options.Options;
import org.openjdk.jmh.runner.options.OptionsBuilder;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.TreeSet;
i... |
package uk.gov.hmcts.reform.fpl.config;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
import java.util.List;
import static com.google.... |
package eu.antidotedb.client;
import com.google.protobuf.ByteString;
public class CommitInfo {
private final ByteString commitTime;
public CommitInfo(ByteString commitTime) {
this.commitTime = commitTime;
}
public ByteString getCommitTime() {
return commitTime;
}
} |
//
// Getdown - application installer, patcher and launcher
// Copyright (C) 2004-2018 Getdown authors
// https://github.com/threerings/getdown/blob/master/LICENSE
package com.threerings.getdown.util;
import org.junit.Test;
import static com.threerings.getdown.util.StringUtil.couldBeValidUrl;
import static org.junit... |
package p005cm.aptoide.p006pt.search.view;
import p026rx.p027b.C0129b;
/* renamed from: cm.aptoide.pt.search.view.Db */
/* compiled from: lambda */
public final /* synthetic */ class C4694Db implements C0129b {
/* renamed from: a */
private final /* synthetic */ SearchResultPresenter f8325a;
public /* s... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package cz.cuni.mff.perestroika.perestroika_problem_10_3_0_3_0_5_1;
import cz.cuni.mff.perestroika.domain.types.T_Resource;
import cz.cuni.mff.perestroika.problem.E_Resource;
public final class E_Resources {
public static final T_Resource r1 = new T_Resource("r1");
public static final T_Resource r2 = new T_Resourc... |
package mage.cards.m;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.RestrictionEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
i... |
/*
* Copyright 2016 Sebastian Gil.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
package org.springframework.data.influxdb.core.mapping;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.mapping.model.BasicPersistentEntity;
import org.springframework.data.mapping.model.FieldNamingStrategy;
import org.springframework.data.util.TypeInformation;
/**
* InfluxDB... |
package day13;
import utils.Position;
import utils.graph.Node;
import utils.graph.NodeExpander;
import java.util.ArrayList;
import java.util.List;
public class PositionExpander implements NodeExpander<Node<Position>> {
private final int number;
private final Position goal;
private final Position[] POSS... |
package de.fhpotsdam.unfolding.examples.multi;
import java.io.File;
import javax.swing.filechooser.FileFilter;
public class MyImageFileFilter extends FileFilter {
@Override
public boolean accept(File f) {
if (f.isDirectory()) {
return true;
}
String extension = Utils.getExtension(f);
if (extension !=... |
package com.google.api.ads.dfp.jaxws.v201508;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for CreativeRotationType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... |
/*
* Copyright 2010 ZXing authors
*
* 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 ... |
package utils;
import org.bouncycastle.crypto.AsymmetricCipherKeyPair;
import org.bouncycastle.crypto.digests.SHA512Digest;
import org.bouncycastle.crypto.generators.RSAKeyPairGenerator;
import org.bouncycastle.crypto.params.RSAKeyGenerationParameters;
import org.bouncycastle.pqc.crypto.qtesla.*;
import org.bouncycast... |
package co.superiortech.hostseditor;
import co.superiortech.hostseditor.file.HostsFile;
import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class MainApp ext... |
package esinf;
/**
*
* @author DEI-ESINF
*/
public class Labirinth {
/**
*
* @param actual the labirinth in its actual (marked) form
* @param y coordinate y in the labirinth
* @param x coordinate x in the labirinth
* @return the marked labirinth or null if there is no way
*/
... |
package com.situjunjie.gulimall.gulimallsearch;
import org.junit.Test;
import java.util.concurrent.*;
/**
* 创建多线程的四种方式:
* 1.继承Thread
* 2.实现Runable接口
* 3.Juc
* 4.线程池
*/
public class JUCTest {
public static ExecutorService executorService = Executors.newFixedThreadPool(10);
/**
* 继承Thread的方式开启一个线... |
//
// Pythagoras - a collection of geometry classes
// http://github.com/samskivert/pythagoras
package pythagoras.f;
/**
* Implements some code shared by the various {@link Transform} implementations.
*/
public abstract class AbstractTransform implements Transform
{
@Override // from Transform
public Vector... |
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 门店插件服务订单业务能力
*
* @author auto create
* @since 1.0, 2020-03-13 16:22:04
*/
public class AntMerchantOrderStoreCreate... |
package com.mageeyang.app.fqq.activity;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.widget.Button;
import android.widget.RelativeLayout;
import com.mageeyang.app.fqq.R;
/**
* A login screen that offers login via email/password.
*/
public class LoginActivi... |
/*
* MIT License
*
* Copyright (c) 2021-2022 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without r... |
package com.giantrobotlabs.util;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.mvc.meth... |
package com.nickermancy.reactive;
import com.nickermancy.function.ThrowingConsumer;
import com.nickermancy.function.ThrowingRunnable;
import com.nickermancy.function.ThrowingSupplier;
import reactor.core.publisher.Mono;
import reactor.core.publisher.MonoSink;
public class MonoSupport {
public static Mono<Void> ... |
/*
#
# Copyright 2007 The Trustees of Indiana University
#
# 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 o... |
package com.aspose.note.examples.pages;
import java.io.IOException;
import com.aspose.note.Document;
import com.aspose.note.LoadOptions;
import com.aspose.note.Page;
import com.aspose.note.examples.Utils;
public class GetPageRevisions {
public static void main(String... args) throws IOException {
// ExStart:GetP... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "Li... |
/*
* Copyright 2000-2011 JetBrains s.r.o.
*
* 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 agre... |
/*
* Copyright (c) 2017, MegaEase
* All rights reserved.
*
* 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 ap... |
package com.zzw.util;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.view.View;
/**
* Created by zzw on 2017/3/5.
... |
package com.tasakos.tictactoe;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* ... |
/**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 Foundati... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package amu.zhcet.auth.twofactor;
import amu.zhcet.common.flash.Flash;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.... |
/*
* Copyright 2018 ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.31.1.5860.78bb27cc6 modeling language!*/
package cruise.queued.statemachine.test;
import java.util.*;
import java.lang.Thread;
// line 5 "../../../../../src/TestHarnessQueuedStateMachine.ump"
public class QueuedSM implements Runnable
{
//... |
package com.scaleunlimited.flinkcrawler.utils;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.runtime.client.JobExecutionException;
import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.envir... |
package com.my.blog.website.utils;
import com.my.blog.website.exception.TipException;
import com.my.blog.website.constant.WebConst;
import com.my.blog.website.controller.admin.AttachController;
import com.my.blog.website.modal.Vo.UserVo;
import org.apache.commons.lang3.StringUtils;
import org.commonmark.node.Node;
imp... |
/**
*/
package gluemodel.CIM.IEC61970.Informative.InfOperations;
import gluemodel.CIM.IEC61970.Core.IdentifiedObject;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Outage Code</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following fe... |
// Copyright 2015 The Bazel Authors. All rights reserved.
//
// 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 appl... |
/*
* The MIT License
*
* Copyright 2020 Intuit Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... |
package cz.cuni.mff.perestroika.perestroika_problem_20_3_0_5_0_1_6;
import cz.cuni.mff.perestroika.domain.types.T_Resource;
import cz.cuni.mff.perestroika.problem.E_Resource;
public final class E_Resources {
public static final T_Resource r1 = new T_Resource("r1");
public static final T_Resource r2 = new T_Resourc... |
/*
Copyright (c) 2014 3 Round Stones Inc, Some Rights Reserved
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 a... |
package com.hss01248.mediax.demo;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public vo... |
/*
* Copyright 2019 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
package com.swifts.frame.modules.wx.fastweixin.company.api.enums;
/**
* 微信企业号菜单类型枚举
* ====================================================================
*
* --------------------------------------------------------------------
* @author Nottyjay
* @version 1.0.beta
* @since 1.3.6
* ===========================... |
/*
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 20220523
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit th... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.ccb.cdialog.utils;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.res.Configuration;
import android.content.res.... |
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.ambient.domain.tables.records;
import cn.vertxup.ambient.domain.tables.XAttachment;
import cn.vertxup.ambient.domain.tables.interfaces.IXAttachment;
import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo;
import java.time.LocalDateTime;
import... |
package org.ilmostro.start.service;
import org.ilmostro.start.service.condition.PostService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4... |
/*
* Copyright 2002-2019 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
//////////////////////////////////////////////////////////////////////////////
// Copyright 2020 Anurag Yadav (anurag.yadav@newtechways.com) //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... |
package com.example.web.servlet;
import com.example.domain.PageBean;
import com.example.domain.User;
import com.example.service.UserService;
import com.example.service.impl.UserServiceImpl;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
i... |
package tetris;
import java.awt.Color;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
/**
* @author ItsNorin
* @see <a href="http://github.com/ItsNo... |
/**
DERT is a viewer for digital terrain models created from data collected during NASA missions.
DERT is Released in under the NASA Open Source Agreement (NOSA) found in the “LICENSE” folder where you
downloaded DERT.
DERT includes 3rd Party software. The complete copyright notice listing for DERT is:
Copyright © ... |
package io.limberest.api.validate;
import static io.limberest.service.http.Status.NOT_FOUND;
import java.util.List;
import java.util.Map;
import org.json.JSONObject;
import io.limberest.api.ServiceApi;
import io.limberest.api.ServiceApiException;
import io.limberest.api.validate.params.BodyParameterValidator;
impor... |
package com.example.testecassianodess;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class TesteThymeLeafApplication {
public static void main(String[] args) {
SpringApplication.run(TesteThymeLeafApplication.cl... |
package com.vladmihalcea.flexypool.config;
import com.vladmihalcea.flexypool.adaptor.PoolAdapter;
import com.vladmihalcea.flexypool.adaptor.PoolAdapterFactory;
import com.vladmihalcea.flexypool.common.ConfigurationProperties;
import com.vladmihalcea.flexypool.connection.ConnectionDecoratorFactoryResolver;
import com.v... |
/*
* Copyright 2016 Open Networking Foundation
*
* 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 la... |
package SNAct1.util;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.Texture.TextureFilter;
import com.badlogic.gdx.utils.GdxRuntimeException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.HashMap;
// Thank you Blank The Evil!
// Welc... |
package client;
import server.*;
class Client {
void fooBar() {
A.Default.setFoo("a");
A.foo = "a";
System.out.println("a.foo = " + A.Default.getFoo());
System.out.println("a.foo = " + A.foo);
}
} |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package cjlu.skyline.ecms_data_annotator.common.utils;
/**
* 自定义异常
*
* @author Mark sunlightcs@gmail.com
*/
public class RRException extends RuntimeException {
private static final long serialVersionUID = 1L... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE369_Divide_by_Zero__int_Property_modulo_73b.java
Label Definition File: CWE369_Divide_by_Zero__int.label.xml
Template File: sources-sinks-73b.tmpl.java
*/
/*
* @description
* CWE: 369 Divide by zero
* BadSource: Property Read data from a system property
* GoodSource:... |
/**
* NativeAdChoicesView.java
* suraj.tiwari.reactnativefbads
*
* Created by Suraj Tiwari on 07/08/18.
* Copyright © 2018 Suraj Tiwari All rights reserved.
*/
package suraj.tiwari.reactnativefbads;
import com.facebook.ads.AdOptionsView;
import com.facebook.ads.NativeAd;
import com.facebook.react.bridge.ReactCon... |
/*
* Copyright © 2018 Mark Raynsford <code@io7m.com> http://io7m.com
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVID... |
/**
* <copyright>
* </copyright>
*
*
*/
package eu.hyvar.feature.expression.resource.hyexpression.ui;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core... |
package satoyuya.example.com;
import android.app.Application;
import android.content.Context;
import com.crashlytics.android.Crashlytics;
import io.fabric.sdk.android.Fabric;
/**
* BootstrapTest application
*/
public abstract class BootstrapApplication extends Application {
private static BootstrapApplication... |
package com.atguigu.gulimall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.coupon.entity.SkuLadderEntity;
import java.util.Map;
/**
* 商品阶梯价格
*
* @author longbiu
* @email longbiu@foxmail.com
* @date 2021-09-25 10... |
package br.com.mercadolivre.config.security;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.stereotype.Component;
@Component
public class SenhaService implements SenhaEncoder{
public String encode(String senha){
return new BCryptPasswordEncoder().encod... |
package net.alloyggp.griddle;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.util.List;
import net.alloyggp.griddle.generated.ParserHelper;
import net.alloyggp.griddle.grammar.TopLevelG... |
package com.kiduyu.cateproject.touristguide;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.annot... |
package org.metahut.starfish.service;
import org.metahut.starfish.parser.exception.AbstractMetaParserException;
import java.util.Collection;
import java.util.Map;
/**
*
*/
interface IGraphApi<K, T> extends AbstractQueryService<T> {
K createNode(String name,Map<String,T> properties) throws AbstractMetaParserEx... |
package com.teamawesome.navii.server.model;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;
/**
* Created by JMtorii on 2015-10-21.
*/
public class Itinerary implements Parcelable{
private int itineraryId;
private String description;
private List<PackageScheduleListItem> ... |
package sendam;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cl... |
package io.github.humbleui.jwm;
import org.jetbrains.annotations.*;
@ApiStatus.Internal
public class KeyType {
public static final int FUNCTION = 1 << 0;
public static final int NAVIGATION = 1 << 1;
public static final int ARROW = 1 << 2;
public static final int MODIFIER = 1 << 3;
public ... |
package com.bitdubai.fermat_dap_plugin.layer.actor.network.service.asset.issuer.developer.bitdubai.version_1.communications;
import com.bitdubai.fermat_api.layer.all_definition.components.interfaces.PlatformComponentProfile;
import com.bitdubai.fermat_dap_plugin.layer.actor.network.service.asset.issuer.developer.bitdu... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... |
package org.keithkim.stixdb.core;
public interface Named {
Name name();
} |
package org.tests.cache;
import io.ebean.BaseTestCase;
import io.ebean.CacheMode;
import io.ebean.DB;
import io.ebean.ExpressionList;
import io.ebean.bean.BeanCollection;
import io.ebean.cache.ServerCache;
import io.ebean.test.LoggedSql;
import org.junit.jupiter.api.Test;
import org.tests.model.basic.Customer;
import ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.