text
stringlengths
7
995k
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, 2019-07-22 12:37:51 */ public class AlipayIserviceCognitiveClassifi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package kroki.profil.utils.settings; import java.awt.Color; import java.awt.Dimension; import java.awt.LayoutManager; import java.awt.event.ActionEvent; import java.awt.event.FocusEvent; import java.awt.event.FocusListe...
package com.llwantedll.webhearts.models.gameapi.exceptions; public class NoCardsInDeckException extends Exception { public NoCardsInDeckException() { } }
package test.lottery; import java.io.FileWriter; import java.io.IOException; public class BuggyProgram { public static final int LITTLE_CONCURRENCY= 2, AVERAGE_CONCURRENCY= 2, LOT_CONCURRENCY= 2, MAX_DIGITS= ...
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of this s...
/* * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * * * * * * Written by Doug Lea and Josh Bloch with assistance from members of JCP * JSR-166 Expert Group and released to the public domain, as explained at * http://creati...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v8/errors/header_error.proto package com.google.ads.googleads.v8.errors; public interface HeaderErrorEnumOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v8.errors.HeaderErrorEnum) c...
/** * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
/*- * #%L * IO Tesler - Core * %% * Copyright (C) 2018 - 2019 Tesler Contributors * %% * 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-...
// Copyright 2018 Google LLC // // 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 com.lilithsthrone.game.character.body.valueEnums; import java.util.List; import com.lilithsthrone.game.character.GameCharacter; import com.lilithsthrone.game.character.body.Anus; import com.lilithsthrone.game.character.body.Ass; import com.lilithsthrone.game.character.body.BodyPartInterface; import com.lilith...
package org.gavin.log.collector.service.log; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.Exec...
/** * personium.io * Copyright 2014 FUJITSU LIMITED * * 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...
/******************************************************************************* * ============LICENSE_START======================================================= * son-handler * ================================================================================ * Copyright (C) 2019 Wipro Limited. * =========...
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate; import java.io.Serializable; import java.util.Iterator; im...
package chronosacaria.mcdw.mixin; import chronosacaria.mcdw.Mcdw; import chronosacaria.mcdw.api.util.McdwEnchantmentHelper; import chronosacaria.mcdw.api.util.ProjectileEffectHelper; import chronosacaria.mcdw.api.util.RangedAttackHelper; import chronosacaria.mcdw.enchants.EnchantsRegistry; import chronosacaria.mcdw.en...
/* * Copyright 2016-present Facebook, 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...
package vistas.recetas; import alertas.WarningConfirmAlert; import beans.Insumo; import beans.Receta; import beans.Trago; import java.awt.event.KeyEvent; import java.sql.SQLException; import java.util.List; import javax.swing.DefaultComboBoxModel; import javax.swing.ImageIcon; import tablas.TablaInsumo; import tablas....
// // ======================================================================== // Copyright (c) 1995-2022 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at // https://www.eclipse.org/...
package ch.heigvd.quaris.models; import javax.persistence.*; import java.util.HashSet; import java.util.Set; /** * Created by Fabien Salathe on 16.01.17. */ @Entity public class Scale { @Version private int version; @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @Many...
/* * Copyright © 2015-2017 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 agr...
package org.codehaus.mojo.aspectj; /** * The MIT License * * Copyright 2005-2006 The Codehaus. * * 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...
/* * Copyright (c) 2012, 2021, 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 ...
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
package com.infilos.spring.model; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class User { private String id; private String name; }
/* * Copyright 2016 The Netty Project * * The Netty Project 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
class Solution { public int flipgame(int[] fronts, int[] backs) { int n = fronts.length; Set<Integer> table = new HashSet(); for (int i = 0; i < n; ++i) { if (fronts[i] == backs[i]) { table.add(fronts[i]); } } int output = Inte...
package com.fuchentao.seckill.domain; //数据库user表的domain对象 public class User { private int id; private String name; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.shell.uiautomator; import com.android.uiautomator.testrunner.UiAutomatorTestCase; import org.chromium.base.test.util.Disable...
public class Main { public static void main(String[] args) { new Extractor(); } }
/* * Copyright 2019 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 app...
/* * Copyright (c) 2022 AccelByte Inc. All Rights Reserved * This is licensed software from AccelByte Inc, for limitations * and restrictions contact your company contract manager. * * Code generated. DO NOT EDIT. */ package net.accelbyte.sdk.cli.api.ugc.anonymization; import com.fasterxml.jackson.core.type.Typ...
package fr.free.nrw.commons.contributions; import android.content.Context; import android.net.Uri; import android.os.Parcel; import androidx.annotation.NonNull; import androidx.annotation.StringDef; import androidx.room.Entity; import androidx.room.PrimaryKey; import org.apache.commons.lang3.StringUtils; import jav...
package entity; import com.fasterxml.jackson.annotation.JsonProperty; public class Parameters { public String getName1() { return name1; } public void setName1(String name1) { this.name1 = name1; } public String getIce1() { return ice1; } public void setIce1(String ice1) { this.ice1 = ice1; } p...
package com.marklogic.appdeployer.command.forests; import com.marklogic.appdeployer.AppConfig; public class DefaultForestNamingStrategy implements ForestNamingStrategy { @Override public String getForestName(String databaseName, int forestNumber, AppConfig appConfig) { return databaseName + "-" + forestNumber; ...
/* * 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.chinaredstar.foundation.common.utils; /** * <p>Operations on {@link String} that are * <code>null</code> safe.</p> * <p/> * <ul> * <li><b>IsEmpty/IsBlank</b> * - checks if a String contains text</li> * <li><b>Trim/Strip</b> * - removes leading and trailing whitespace</li> * <li><b>Equals</b> * - ...
/* * Copyright (c) 2017, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ package com.salesforce.rxgrpc.tck; import io.reactivex.Flowable; import io.reactiv...
package camo; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import javax.swing.*; /** * Displays the logo and certain information to do with CAMO. * * @author Chris Arderne * @version 3.0 */ class About { /*...
/* * Copyright 2021 Robin Mercier * * 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...
/* * 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 ...
/* Copyright 2008 Olivier Chafik 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 may...
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * 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/. */ package org.mozilla.javascript.ty...
// Copyright (c) YugaByte, Inc. package com.yugabyte.yw.controllers; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.yugabyte.yw.commissioner.Common.CloudType; import com.yugabyte.yw.commissioner.tasks.CommissionerBaseTest; import com.yugabyte.yw.commo...
/* * 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...
package com.ack.adventureandconquer.game.creature.npc.humanoid; import com.ack.adventureandconquer.game.creature.npc.Npc; import java.util.ArrayList; import java.util.List; /** * Created by saskyrar on 22/01/15. */ public class Pixie extends Npc { public static List<Npc> getWing() { List<Npc> wing = n...
package com.example.activitytest; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; public class SecondActivity extends BaseActivity { private static final String TAG = "SecondActivity"; @...
package org.tron.trident.abi.datatypes.generated; import org.tron.trident.abi.datatypes.Bytes; /** * Auto generated code. * <p><strong>Do not modifiy!</strong> * <p>Please use org.tron.trident.codegen.AbiTypesGenerator in the * <a href="https://github.com/web3j/web3j/tree/master/codegen">codegen module</a> to upd...
/** * Copyright 2011 JogAmp Community. 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 * co...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 ...
package com.ruoyi.system.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 拦...
package com.jn.audit.core; import com.jn.audit.core.model.*; import com.jn.langx.util.function.Supplier; import java.util.List; /** * 用于根据request, request context 来提取AuditEvent * @param <AuditedRequest> * @param <AuditedRequestContext> */ public interface AuditEventExtractor<AuditedRequest, AuditedRequestContext...
package com.huatuo.util; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.lang.ref.SoftReference; import java.net.HttpURLConnection; import java.net.MalformedURLException;...
package com.example.dipankar.springapp; 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.*; /** * Instrumented test, which will execute on an ...
package com.speedphoenix.ActionListeners.AddOrModifyPanel; import com.speedphoenix.Connexion.Connexion; import com.speedphoenix.Display.GraphicContainer; import com.speedphoenix.Display.Affclasses.JClasseAff; import com.speedphoenix.Display.Affclasses.JRightNavPanel; import com.speedphoenix.Display.Affclasses.JUpNavBa...
package exercicios_do_livro_cap_04; import java.util.Scanner; public class exercicio_18 { public static void main(String[] args){ Scanner input = new Scanner(System.in); int idade; idade = input.nextInt(); if(idade>=18){ System.out.println("voce ja é maior de id...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
package io.kubernetes.client.openapi.models; import io.kubernetes.client.fluent.VisitableBuilder; import io.kubernetes.client.fluent.Nested; import java.util.ArrayList; import java.lang.String; import java.util.function.Predicate; import java.lang.Deprecated; import io.kubernetes.client.fluent.BaseFluent; import java....
package jetbrains.mps.execution.configurations.constraints; /*Generated by MPS */ import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; import jetbrains.mps.smodel.runtime.ConstraintFunction; import jetbrains.mps.smodel.runtime.ConstraintContext_CanBeChild; import org.jetbrains.annotations.NotNull; impo...
package software.crldev.elrondspringbootstarterreactive.domain.esdt.common; import lombok.Getter; import org.bouncycastle.util.encoders.Hex; import java.util.HashMap; import java.util.Map; import java.util.Optional; import static software.crldev.elrondspringbootstarterreactive.error.ErrorMessage.TOKEN_PROPERTY; @Ge...
package com.example.android.quakereport; import android.content.AsyncTaskLoader; import android.content.Context; import android.util.Log; import java.util.List; /** * Loads a list of earthquakes by using an AsyncTask to perform the * network request to the given URL. */ public class EarthquakeLoader extends Async...
package dk.alexandra.fresco.stat.sampling; import dk.alexandra.fresco.framework.DRes; import dk.alexandra.fresco.framework.builder.Computation; import dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric; import dk.alexandra.fresco.framework.value.SInt; import dk.alexandra.fresco.lib.fixed.AdvancedFixe...
/** * Copyright 2013-2017 Ralph Schaer <ralphschaer@gmail.com> * * 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...
package org.karp.k4t.model; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.karp.k4t.Application; import org.karp.k4t.data.content.loader.search.term.SearchTermContentProviderConfiguration; import org.karp.k4t.data.content.provider.search.term.SearchTermContentProvider; impo...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2018.05....
package com.alan19.astral.effects; import com.alan19.astral.Astral; import com.alan19.astral.entity.AstralModifiers; import com.alan19.astral.util.Constants; import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.potion.Effect; import net.minecraftforge.eventbus.api.IEventBus; import net.min...
package com.linked.annotion; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * Created by erfli on 2/15/17. */ @Retention(RetentionPolicy.CLASS) public @interface Module { String name(); }
package edu.nwmissouri.animalList; import edu.nwmissouri.animalList.NumberParity; import edu.nwmissouri.animalList.Griffin; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.AfterAll; import static org.junit.jupiter.api.Assertions.*;...
/* * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * Copyright 2013 - 2021 Aurelian Tutuianu * * 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 * * h...
/* * Copyright 2002-2018 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 ap...
package net.minecraft.item.crafting; import com.google.common.collect.Lists; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.function.Consumer; import net.minecraft.advancements.CriteriaTriggers; import net.minecraft.entity.player.ServerPlay...
// Copyright 2020 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...
/* * 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.concordion.slf4j.markers; import org.slf4j.Marker; import org.slf4j.MarkerFactory; public class ReportLoggerMarkers { public static final Marker TOOLTIP_MARKER = MarkerFactory.getMarker("TOOLTIP"); public static final Marker PROGRESS_MARKER = MarkerFactory.getMarker("PROGRESS"); public static final Mar...
package mage.cards.m; import mage.ObjectColor; import mage.abilities.Ability; import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.Cost; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.DontUntapIn...
/* * Copyright (c) 2002-2020 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
/* * Copyright 2012 The Netty Project * * The Netty Project 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.apache.org/licenses/LICENSE-2.0 * * Unless ...
/** */ package CIM.IEC61968.PaymentMetering.util; import CIM.Element; import CIM.IEC61968.Common.Agreement; import CIM.IEC61968.Common.Document; import CIM.IEC61968.Common.Organisation; import CIM.IEC61968.PaymentMetering.*; import CIM.IEC61970.Core.IdentifiedObject; import org.eclipse.emf.ecore.EObject; import o...
/** * Copyright 2009-2017 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 * * Unle...
package de.moozunity.luckyblocks.action.actions; import de.moozunity.luckyblocks.action.Action; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.entity.Player; public class IronToolsAction extends Action { @Override public void onOpen(Player player, Block block) { dropItem...
package de.rcblum.stream.deck.event; import java.util.EventObject; import de.rcblum.stream.deck.device.IStreamDeck; /** * Event that represents an event triggered by interacting with the stream deck. * * <br><br> * * MIT License<br> * <br> * Copyright (c) 2017 Roland von Werden<br> * <br> * Permission is...
package minusXL_data_management; public abstract class StatisticFunction extends Function { public StatisticFunction(SpreadSheet sheet, int r, int c, String value, String formula) { super(sheet, r, c, value, formula); // TODO Auto-generated constructor stub } public abstract Object calculateValue(Object[] inp...
package ilargia.entitas.codeGeneration.interfaces; import ilargia.entitas.codeGeneration.data.CodeGenFile; import java.util.List; public interface ICodeGenFilePostProcessor<C> extends ICodeGeneratorInterface { void setAppDomain(IAppDomain appDomain); List<CodeGenFile<C>> postProcess(List<CodeGenFile<C>> fi...
package com.xiaobu.blog.dto; import com.xiaobu.blog.common.Const; import com.xiaobu.blog.dto.interfaces.Convert; import com.xiaobu.blog.model.Article; import com.xiaobu.blog.model.Tag; import com.xiaobu.blog.model.wrapper.ArticleWithTag; import com.xiaobu.blog.validator.group.DefaultArticleGroup; import lombok.Data; i...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE789_Uncontrolled_Mem_Alloc__max_value_HashSet_53b.java Label Definition File: CWE789_Uncontrolled_Mem_Alloc.int.label.xml Template File: sources-sink-53b.tmpl.java */ /* * @description * CWE: 789 Uncontrolled Memory Allocation * BadSource: max_value Set data to a hard...
package com.dd.util; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Date; import javax.servlet.http.HttpServletRequest; import javax.servl...
package com.heo.dailycommit.error; public class SlackException extends Exception { /** * */ private static final long serialVersionUID = 857830231620313665L; public SlackException(SlackErrors error) { this(error.getDescription()); } public SlackException(String msg){ su...
package com.github.sheigutn.pushbullet.http.defaults.get; import com.github.sheigutn.pushbullet.http.defaults.ListItemsRequest; import com.github.sheigutn.pushbullet.http.Urls; import lombok.Data; @Data public class ListSubscriptionsRequest extends ListItemsRequest { public ListSubscriptionsRequest() { s...
package io.joyrpc.exception; /*- * #%L * joyrpc * %% * Copyright (C) 2019 joyrpc.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/LICENS...
/** * */ package kodkod.examples.tptp; import static kodkod.ast.Expression.UNIV; import java.util.ArrayList; import java.util.List; import kodkod.ast.Expression; import kodkod.ast.Formula; import kodkod.ast.Relation; import kodkod.ast.Variable; import kodkod.engine.Solution; import kodkod.engine.Solver; import ko...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.compute.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.management.Resource; import com.azure.core...
package de.metas.contracts.refund; import static org.adempiere.model.InterfaceWrapperHelper.load; import static org.adempiere.model.InterfaceWrapperHelper.newInstance; import static org.adempiere.model.InterfaceWrapperHelper.saveRecord; import java.util.List; import java.util.Optional; import javax.annotation.Nullab...
package app.recipes.services; import app.recipes.converters.RecipeCommandToRecipe; import app.recipes.converters.RecipeToRecipeCommand; import app.recipes.exceptions.NotFoundException; import app.recipes.models.Recipe; import app.recipes.repositorys.RecipeRepository; import org.junit.Before; import org.junit.Test; imp...
/* * Copyright (c) 2020 IBM Corporation and others * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may not use this file except in compliance with the License. * You may ob...
package com.sunnsoft.sloa.helper; import org.apache.commons.lang3.StringUtils; import org.hibernate.criterion.Criterion; import org.hibernate.criterion.DetachedCriteria; import org.hibernate.criterion.Junction; import org.hibernate.criterion.Restrictions; import java.util.Stack; public class RoleListProperty{ pub...
package com.example.android.coolweather; import android.app.ProgressDialog; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; impor...
// Copyright 2014 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...
/* * reserved comment block * DO NOT REMOVE OR ALTER! */ package com.sun.org.apache.bcel.internal.generic; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redis...