text stringlengths 7 995k |
|---|
package com.mfathy.mutilites;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertEquals;
/**
* Instrumented test, which will execute on an... |
package cn.john.config;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.aop.Advisor;
import org.springframework.aop.aspectj.AspectJExpressionPointcut;
import org.springframework.aop.support.DefaultPointcutAdvisor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/* Copyright 2011-2013 Google Inc.
* Copyright 2013 mike wakerly <opensource@hoho.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at ... |
package socketstockfish;
import com.google.gson.JsonObject;
import spark.Request;
import spark.Response;
import spark.Route;
import xyz.niflheim.stockfish.StockfishClient;
import xyz.niflheim.stockfish.engine.enums.Query;
import xyz.niflheim.stockfish.engine.enums.QueryType;
import xyz.niflheim.stockfish.engine.enums.... |
package org.sword.wechat4j.pay.protocol.downloadbill;
import org.sword.wechat4j.common.Config;
import javax.xml.bind.annotation.XmlRootElement;
/**
* 下载对账单请求对象
* <p>参考<a href="https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_6">开发文档</p>
* <p/>
* Created by xuwen on 2015-12-13.
*/
@XmlRootElement(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
... |
package ch.heigvd.res.lab00;
/**
*
* @author Joao Domingues
*/
public class Flute implements IInstrument{
@Override
public int getSoundVolume() {
return 50;
}
@Override
public String getColor() {
return "white";
}
@Override
public String play() {
return "fu";
}
} |
package frc.robot.commands;
import frc.robot.subsystems.ArmSS;
import edu.wpi.first.wpilibj2.command.CommandBase;
public class armup extends CommandBase{
private final ArmSS m_armss;
public armup(ArmSS subsytem){
m_armss = subsytem;
addRequirements(m_armss);
}
@Override
public v... |
package exercise_tasks;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class E06_VehicleCatalogue {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String input = scanner.nextLine();
List<Vehicle> vehicles = new Array... |
/*
* Copyright (c) 2020 Chanus
*
* 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 com.atguigu.gmall.pms.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
/**
* spu属性值
*
* @author hauhau
* @email 1527915415@qq.com
* @date 2020-10-27 21:03:02
*/
@Data
@TableName("pms_spu_... |
package com.zup.matheusfernandes.proposta;
import java.math.BigDecimal;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
i... |
package gr.uom.java.xmi.decomposition;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.eclipse.jdt.core.dom.ClassInstanceCreation;
import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jdt.core.dom.Expression;
import org.eclipse.jdt.core.dom.ExpressionStatement;
impor... |
package com.example.desarrollo_elevation.viveelite;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.OrientationHelper;
import android.support.v7.widget... |
/*
* Copyright (c) 2008-2020, Hazelcast, Inc. 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 ... |
package us.ihmc.utilities.parameterOptimization.geneticAlgorithm.gui;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JPanel;
import... |
package cn.com.wewin.modules.system.mapper;
import org.apache.ibatis.annotations.Param;
import cn.com.wewin.modules.system.entity.SysDataLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
public interface SysDataLogMapper extends BaseMapper<SysDataLog>{
/**
* 通过表名及数据Id获取最大版本
* @param tableName
* @pa... |
/*
* Copyright (c) 2008-2021, Hazelcast, Inc. 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 ... |
/*
* 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 org.juhepay.transaction;
import lombok.extern.slf4j.Slf4j;
import org.juhepay.transaction.api.PayChannelService;
import org.juhepay.transaction.api.dto.PayChannelDTO;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... |
/*
* 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 ... |
/*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... |
package datawave.webservice.query.runner;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Maps;
import com.google.common.collect.Multimap;
import datawave.accumulo.inmemory.InMemoryInstance;
import datawave.marking.ColumnVisibilitySecurityMarking;
import datawave.marking.SecurityMarking... |
package com.vsa.paperknifesample;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... |
/*
* Modifications Copyright (c) 2019 BrowserUp, Inc.
*/
package com.browserup.bup.assertion;
import com.browserup.bup.assertion.error.HarEntryAssertionError;
import com.browserup.harreader.model.HarEntry;
import java.util.Optional;
public class ResponseTimeLessThanOrEqualAssertion implements HarEntryAssertion {
... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* 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 applica... |
package org.callimachusproject.types;
import org.callimachusproject.test.TemporaryServerIntegrationTestCase;
import org.callimachusproject.test.WebResource;
public class PurlIntegrationTest extends TemporaryServerIntegrationTestCase {
private static int count = 0;
private WebResource file;
@Override
public void ... |
package io.leopard.web.mvc.json;
import java.io.IOException;
import java.lang.reflect.Field;
import org.springframework.beans.factory.annotation.Autowired;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;... |
package com.gempukku.swccgo.cards.actions;
import com.gempukku.swccgo.cards.effects.PayInitiateForceDrainCostEffect;
import com.gempukku.swccgo.game.PhysicalCard;
import com.gempukku.swccgo.game.SwccgGame;
import com.gempukku.swccgo.logic.actions.AbstractTopLevelRuleAction;
import com.gempukku.swccgo.logic.effects.For... |
/*
* Copyright 2014 Flavio Faria
*
* 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... |
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.store.impl.events;
import java.util.Date;
import pl.edu.icm.unity.store.rdbms.BaseBean;
/**
* Event stored in DB.
* @author K. Benedyczak
*/
public class EventBe... |
package ${basePackage}.domain;
import com.chequer.axboot.core.domain.base.AXBootCrudModel;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.data.doma... |
/*
* Copyright 2013 Guidewire Software, Inc.
*/
package gw.config;
import gw.lang.IGosuShop;
import gw.lang.parser.ICoercionManager;
import gw.lang.parser.IGosuParserFactory;
import gw.lang.reflect.IEntityAccess;
import gw.lang.reflect.ITypeSystem;
import gw.lang.reflect.module.IFileSystem;
import javax.swing.even... |
package org.motechproject.sms.smpp;
import org.smslib.smpp.Address;
import org.smslib.smpp.BindAttributes;
import java.util.Properties;
import static org.motechproject.sms.smpp.constants.SmppProperties.BINDTYPE;
import static org.motechproject.sms.smpp.constants.SmppProperties.BIND_NPI;
import static org.motechproje... |
/*
* 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 ... |
//3, 19 -> 3, 24 AllowLoadtime == false
package p;
@SuppressWarnings(A.S_ALL)
class A {
static final String S_ALL = "all";
@SuppressWarnings({ S_ALL, "rawtypes" })
int v = 0;
void m() {
@SuppressWarnings(value = S_ALL + "a") int v = 1;
}
} |
package com.jram.Controllers;
import com.jram.Dao.Connect;
import com.jram.DaoImple.DoctorDaoImple;
import com.jram.Entity.Doctor;
import java.io.IOException;
import java.util.List;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servle... |
/*
* ============================================================================
* GNU General Public License
* ============================================================================
*
* Copyright (C) 2006-2011 Serotonin Software Technologies Inc. http://serotoninsoftware.com
* @author Matthew Lohbihler
*... |
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
public class StringCalculatorTest {
@Test
public void shouldReturnZeroWhenStringPassedIsEmpty() {
StringCalculator stringCalculator = new StringCalculator(",");
int ret = stringCalculator.add(... |
/*******************************************************************************
* Copyright (c) 2013-2018 Contributors to the Eclipse Foundation
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
* All rights reserved. This program and the accompan... |
package com.lyft.pgv.validation;
import com.google.protobuf.Any;
import com.google.protobuf.InvalidProtocolBufferException;
import com.google.protobuf.Message;
import org.junit.Test;
import tests.harness.Harness;
import tests.harness.cases.Messages;
import tests.harness.cases.Numbers;
import java.util.Collections;
i... |
package org.camunda.bpm.extension.mockito;
import org.camunda.bpm.engine.history.HistoricProcessInstance;
import org.camunda.bpm.engine.impl.persistence.entity.TimerEntity;
import org.camunda.bpm.engine.runtime.EventSubscription;
import org.camunda.bpm.engine.runtime.Job;
import org.camunda.bpm.engine.runtime.JobQuery... |
package org.red5.io.matroska.dtd;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.Date;
import org.red5.io.matroska.ParserUtils;
import org.red5.io.matroska.VINT;
/**
* http://matroska.org/technical/specs/index.html Date - signed 8 octets integer in nanoseconds w... |
/*
* Copyright 2019-2020 Zheng Jie
*
* 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 agree... |
package io.moku.davide.sideproject.utils.recyclerView;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.vi... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.swiperefreshlayout;
public final class R {
private R() {}
public static final class attr {
pri... |
package com.anjitha.app.api;
import java.util.ArrayList;
import java.util.List;
import com.anjitha.app.model.User;
import org.springframework.web.bind.annotation.*;
@RestController
@CrossOrigin(origins = "http://localhost:4200")
@RequestMapping("/users")
public class UserManagementResource {
private List<User> us... |
package com.yan.fishmall.coupon.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 商品spu积分设置
*
* @author caiyiyan
* @email cyiyangg@gmail.com
... |
/*
* Copyright oVirt Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.ovirt.engine.api.restapi.resource.externalhostproviders;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.mockito.junit.jup... |
/**
* Copyright (c) 2013-2014, jcabi.com
* 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 source code must retain the above
* copyright notice, this list of condition... |
package testitemrendering.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.util.Icon;
/*
This class is used to demonstrate IItemRenderer for an ItemBl... |
// Automatically created - do not modify
///CLOVER:OFF
// CSOFF: Generated File
package com.opengamma.engine.view.cache.msg;
public class CacheMessage implements java.io.Serializable {
public CacheMessage accept (CacheMessageVisitor visitor) { throw new UnsupportedOperationException (); }
private static final long ... |
package com.ok.main;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.io.File;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
import javax.sound.sampled.DataLine;
public class Main {
public ... |
/*
* $Id$
*
* 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
* "Lice... |
/*
* Copyright 2016-2017 Axioma srl.
*
* 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... |
// File generated from our OpenAPI spec
package com.jaguar.param;
import com.google.gson.annotations.SerializedName;
import com.jaguar.net.ApiRequestParams;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import lombok.Getter;
@Getter
public class PlanRetrieveParams ... |
/*
* 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... |
/**
* 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... |
/**
* 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 com.simibubi.create.foundation.gui;
import java.util.List;
import java.util.function.Consumer;
import com.mojang.blaze3d.systems.RenderSystem;
import com.simibubi.create.AllKeys;
import com.simibubi.create.ScreenResources;
import com.simibubi.create.foundation.utility.Lang;
import com.simibubi.create.modules.... |
package cn.yescallop.gomoku.game;
/**
* Thrown if an illegal move was made.
*
* @author Scallop Ye
*/
public class IllegalMoveException extends Exception {
public IllegalMoveException(String message) {
super(message);
}
} |
/*
* 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 io.hashimati.security.util;
import jakarta.inject.Singleton;
import javax.annotation.PostConstruct;
import java.util.ArrayList;
import java.util.Random;
@Singleton
public class CodeRandomizer {
// A= 65- Z=90 , a= 97 z =122, 0 =48, 9 = 57
ArrayList<Integer> rndSet = new ArrayList<>();
@PostCo... |
/*
* Copyright 2015-2016 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package ir.beigirad.zeroapplication.widget;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.StaggeredGridLayoutManager;
/**
* Created by farhad-mbp on 8/28/17.
*/
@S... |
package ee.era.hangman;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.HandlerCollection;
import org.eclipse.jetty.webapp.WebAppContext;
import java.io.File;
public class Launcher {
private final int port;
private final Server server;
public Launcher(String environment, int po... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
/*
* Licensed to Elastic Search and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you m... |
/*
* Copyright (C) 2011 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 application.rest.v1;
import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import java.util.ArrayList;
@Path("hello")
public class Example {
... |
package sunmi.sunmiui.edit;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.text.Editable;
import android.text.InputType;
import android.text.TextWatcher;
import android.util.AttributeSet;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageVie... |
/*-
* #%L
* **********************************************************************
* ORGANIZATION : Pi4J
* PROJECT : Pi4J :: TESTING :: Unit/Integration Tests
* FILENAME : module-info.java
*
* This file is part of the Pi4J project. More information about
* this project can be found here: https:... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2016-2020 Gerrit Grunwald.
*
* 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
... |
/*
* Copyright © 2016 Cask Data, 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 t... |
package org.intermine.objectstore.query;
/*
* Copyright (C) 2002-2014 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... |
package com.kdimitrov.edentist.common.model.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.kdimitrov.edentist.common.model.annotation.DateInFuture;
import com.kdimitrov.edentist.common.model.annotation.TimeIsWorkable;
import lombok.Getter;
import lombok.Setter;
import org.springframework... |
package org.inaturalist.android;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.widget.LinearLayout;
import org.tinylog.Logger;
// Linear layout that intercepts al... |
/**
*/
package edu.kit.sfm.servicefeaturemodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Optional Service Feature</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link edu.kit.sfm.servicefeaturemodel.OptionalServiceFeature... |
package ru.job4j.cartrade.controller.main;
import ru.job4j.cartrade.model.advertisement.Advertisement;
import ru.job4j.cartrade.model.photo.Photo;
import ru.job4j.cartrade.storage.Storage;
import ru.job4j.cartrade.storage.dao.IAdvertisementDAO;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServ... |
/**
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
* This file is part of the LDP4j Project:
* http://www.ldp4j.org/
*
* Center for Open Middleware
* http://www.centeropenmiddleware.com/
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
* ... |
package org.camunda.community.rest.client.springboot;
import org.camunda.community.rest.client.api.DeploymentApi;
import org.camunda.community.rest.client.invoker.ApiException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springfra... |
/*
* Copyright 2014 - 2021 Blazebit.
*
* 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... |
package net.community.chest.net.address;
import java.io.EOFException;
import java.io.IOException;
import java.io.StreamCorruptedException;
import java.net.Inet6Address;
import java.util.ArrayList;
import java.util.List;
import net.community.chest.CoVariantReturn;
import net.community.chest.lang.StringUtil;
/**
* <P... |
/*
* This file is part of gplugins, licensed under the MIT License (MIT).
*
* Copyright (c) 2017, Jamie Mansfield <https://www.jamierocks.uk/>
*
* 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 ... |
package com.easytoolsoft.commons.lang.pair;
/**
* @author zhiwei.deng
* @date 2017-03-25
**/
public class IdTextPair {
private String id;
private String text;
private boolean selected;
public IdTextPair() {
}
public IdTextPair(final String id, final String text) {
this.id = id;
... |
/*
* Copyright (c) 2016-2019 Daniel Ennis (Aikar) - MIT License
*
* 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 u... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
package controller.commands;
import model.VersionsManager;
public class SaveCommand extends GenerateCommands {
public SaveCommand(VersionsManager versionsManager) {
// TODO Auto-generated constructor stub
this.versionsManager = versionsManager;
}
public void execute() {
saveToFile();
}
public void sa... |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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 bio.terra.tdrwrapper.exception;
import java.util.List;
public class DataRepoInternalServiceClientException extends DataRepoClientException {
public DataRepoInternalServiceClientException(
String message, int statusCode, List<String> errorDetails) {
super(message, statusCode, errorDetails);
}
... |
/**
* Copyright (c) 2008, SnakeYAML
*
* 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... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.client.core.communication;
import com.yahoo.vespa.http.client.config.Endpoint;
import java.io.IOException;
/**
* Class for throwing exception from endpoint.
* @author ... |
package cn.com.eshop.order.mapper;
import cn.com.eshop.order.entity.OrderUnifiedProductDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 统一产品明细表 Mapper 接口
* </p>
*
* @author code4fun
* @since 2019-05-09
*/
public interface OrderUnifiedProductDetailMapper extends BaseMapper<OrderUnifie... |
package com.xuegao.mybatisuse;
import com.xuegao.mybatisuse.mapper.IProducerMapper;
import com.xuegao.mybatisuse.model.doo.Producer;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.ExecutorType;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
imp... |
/*
* Copyright 2016 OPEN TONE 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 ... |
package com.gpmall.user.controller;
import com.gpmall.commons.result.ResponseData;
import com.gpmall.commons.result.ResponseUtil;
import com.gpmall.commons.tool.utils.CookieUtil;
import com.gpmall.user.IKaptchaService;
import com.gpmall.user.IUserRegisterService;
import com.gpmall.user.IUserVerifyService;
import com.g... |
package com.soli.Soli.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.we... |
package com.exalpme.bozhilun.android.w30s.utils;
/**
* @aboutContent:
* @author: An
* @crateTime: 2018/3/26 11:33
* @mailBox: an.****.life@gmail.com
* @company: 东莞速成科技有限公司
*/
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import androi... |
/*******************************************************************************
* (c) Copyright 2020 Micro Focus or one of its affiliates, a Micro Focus company
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Softwar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.