text
stringlengths
7
995k
package io.javaoperatorsdk.operator.processing; import io.javaoperatorsdk.operator.ControllerUtils; import io.fabric8.kubernetes.client.CustomResource; import io.fabric8.kubernetes.client.dsl.MixedOperation; import io.fabric8.kubernetes.client.dsl.Resource; import io.javaoperatorsdk.operator.api.*; import io.javaopera...
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
/** * Copyright 2015-2018 The OpenZipkin 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 ...
/* * Copyright 2015-2020 The OpenZipkin 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 a...
/* * Copyright 1999-2101 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...
public class ToTest { public static int test() { return Exploit.test(); } } class Exploit { public static int test() { return Integer.parseInt("0"); } }
/*---------------------------------------------------------------- * Copyright (c) ThoughtWorks, Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE.txt in the project root for license information. *----------------------------------------------------------------*/ package com.thoughtworks.gauge....
package io.github.treech.ui.widget.spinner.editspinner; /** * 监听输入并过滤 * * @since 2019/1/14 下午10:14 */ public interface EditSpinnerFilter { /** * editText输入监听 * * @param keyword 关键字 * @return 是否找到匹配项 */ boolean onFilter(String keyword); }
package CrackingTheCodingInterview.src.IX_InterviewQuestions.DataStructures.Ch01_ArraysAndStrings.Q0_Introduction.HashTable.Java; public class HashTable { }
package javassist.bytecode; static class Jump16 extends Branch16 { Jump16(final int a1, final int a2) { super(a1, a2); } @Override int deltaSize() { return (this.state == 2) ? 2 : 0; } @Override void write32(final int a1, final byte[] a2, final int a3, final byte[]...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
/* Copyright (c) 2019 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the above cop...
package com.programming_distributed_systems_project; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * This class contains the pool of all threads present on the server at a particular time * It ...
package com.ushaqi.zhuishushenqi.model; public class GiftGame { private String _id; private String androidLink; private String androidPackageName; public int androidSize; private int downloadStatus; public int followers; public GiftGameGift[] gifts; public String icon; private String localFileUri; ...
package com.enjoy.cap6.bean; /** * @Author:waken * @Date: Created in 2019/4/27 17:35 * @Description: */ public class Pig { }
/** * Copyright 2018-2028 Akaxin Group * * 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 ag...
package de.simpleworks.staf.module.jira.commons; import java.io.File; import java.io.InputStream; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager; import org....
/** * iBizSys 5.0 机器人生产代码(不要直接修改当前代码) * http://www.ibizsys.net */ package com.sa.unip.app.srv.wf.ctrlmodel; import java.util.ArrayList; import java.util.List; import net.ibizsys.paas.util.StringHelper; import net.ibizsys.paas.web.AjaxActionResult; import net.ibizsys.paas.web.WebContext; import net.ibizsys.paas.u...
/* This file is part of the iText (R) project. Copyright (c) 1998-2019 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation ...
package com.github.serkanalgl.hydro.raindrop; import com.github.serkanalgl.hydro.HydroOAuth2Exception; import com.github.serkanalgl.hydro.raindrop.model.Authenticate; import com.github.serkanalgl.hydro.raindrop.model.Challenge; import com.github.serkanalgl.hydro.raindrop.model.Whitelist; import com.mashape.unirest.htt...
import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; class RepeatItTest { @Test void sample() { assertEquals("Not a string", RepeatIt.repeatString(null, 3)); assertEquals("***", RepeatIt.repeatString("*", 3)); assertEquals("HelloHelloHelloHelloHelloHelloHello...
package io.quarkus.it.spring; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.context.annotation.Sc...
package com.od.weatherkata.publisher; /** * Created by Nick E on 29/01/2015. */ public interface WeatherPublisherControl { void setTemperature(int temp); void setWind(int wind); void setPrecipitation(String precipitation); void setPressure(int low, int high); }
/* * Copyright 2018 The Feast 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 applicable law or agr...
/** * 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 Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.indexlifecycle; import org.apache.lucen...
package jnt.scimark2; public class Constants { public static final double RESOLUTION_DEFAULT = 2.0; /*secs*/ public static final int RANDOM_SEED = 101010; // default: small (cache-contained) problem sizes // public static final int FFT_SIZE = 1024; // must be a power of two public static fi...
package de.joblift.service.gitlabpanorama.storage; import java.util.Collection; import java.util.List; import de.joblift.service.gitlabpanorama.core.models.Pipeline; /** * Contract for a storage implementation */ public interface Storage { List<Pipeline> load(); void store(Collection<Pipeline> pipelines); }
package com.liwy.commons.dbutils.handlers; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Map; import com.liwy.commons.dbutils.DbUtils; public class MapHandler implements ResultSetHandler<Map<String,Object>> { @Override public Map<String,Object> handle(ResultSet rs) throws SQLException...
package com.qlaall.docxgenerator; import com.qlaall.docxgenerator.action.DocxGenerator; import com.qlaall.docxgenerator.styles.Style; import com.qlaall.docxgenerator.util.WordUtil; import org.apache.poi.xwpf.usermodel.XWPFDocument; import org.apache.poi.xwpf.usermodel.XWPFParagraph; import org.apache.poi.xwpf.usermode...
// Author: Jordan Randleman - Primitive.Symbol // Purpose: // Java primitives for symbol procedures. package Primitive; import Type.Datum; import Type.Environment; import Util.Exceptionf; import java.util.ArrayList; public class Symbol { ///////////////////////////////////////////////////////////////////////////...
package io.smallrye.graphql.schema; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set; import org.jboss.jandex.AnnotationInstance; import org.jboss.jandex.AnnotationTarget; import org.jboss.jand...
package com.example.lyj.myapplication; 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 publ...
package rs.math.oop1.z090201.interfejsi.z04.dvaInterfejsaIstiMetod; public class PokretanjeProba { public static void main(String[] arg) { Prvi p = new Proba(); System.out.println(p.pita()); System.out.println(); Drugi d = new Proba(); System.out.println(d.pita()); ...
package org.antlr.intellij.plugin; import com.intellij.openapi.fileTypes.SyntaxHighlighter; import com.intellij.openapi.fileTypes.SyntaxHighlighterFactory; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.VirtualFile; import org.jetbrains.annotations.NotNull; public class ANTLRv4SyntaxHigh...
// ============================================================================ // // Copyright (C) 2006-2021 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
package com.thaiopensource.suggest.relaxng.pattern; import com.thaiopensource.relaxng.edit.NamespaceContext; import com.thaiopensource.relaxng.parse.Context; import java.util.Collections; import java.util.Set; public class NamespaceContextImpl implements NamespaceContext { private final Context context; private ...
/***************************************************************************** * Copyright (C) NanoContainer Organization. All rights reserved. * * ------------------------------------------------------------------------- * * The software in this package is published under the terms of the BSD * * 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 may n...
package com.yusys.bione.plugin.rptorg.repository; import com.yusys.bione.comp.common.CommonTreeNode; import com.yusys.bione.comp.repository.mybatis.MyBatisRepository; import com.yusys.bione.frame.authobj.entity.BioneOrgInfo; import com.yusys.bione.plugin.rptorg.entity.RptOrgInfo; import com.yusys.bione.plugin.rptorg.w...
package com.theflopguyproductions.ticktrack.ui.lottie.animation.content; import android.graphics.Canvas; import android.graphics.LinearGradient; import android.graphics.Matrix; import android.graphics.PointF; import android.graphics.RadialGradient; import android.graphics.RectF; import android.graphics.Shader; import...
package me.coley.nimbus; import me.coley.nimbus.config.NetConfig; import me.coley.nimbus.config.SerialConfig; import me.coley.nimbus.stuff.ConnectionType; import me.coley.nimbus.stuff.IndexOrderedServerPacket; import me.coley.nimbus.stuff.ListWrapper; import me.coley.nimbus.stuff.ServerPacket; import org.junit.jupiter...
package com.jaregu.database.queries.proxy; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Use this annotation to mark proxiable interface or its methods to perform * Query conversi...
package com.bitwyze.instagramviewer; 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() { ...
package com.bot.commands.rss; import com.bot.models.RssProvider; import com.bot.utils.ChanUtils; import com.bot.utils.ConstantStrings; import com.jagrosh.jdautilities.command.CommandEvent; import com.jagrosh.jdautilities.commons.waiter.EventWaiter; import datadog.trace.api.Trace; import net.dv8tion.jda.api.Permission;...
/* * Copyright 2013 MovingBlocks * * 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) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
package com.fwahyudianto.learn.viewgroup; 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 a...
/*L * Copyright Oracle inc, SAIC-F * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cadsr-util/LICENSE.txt for details. */ package gov.nih.nci.ncicb.cadsr.common.persistence.bc4j.handler; import gov.nih.nci.ncicb.cadsr.common.persistence.bc4j.CDEBrowserBc4jModuleImpl; imp...
/* * This file is part of NeptuneVanilla, licensed under the MIT License (MIT). * * Copyright (c) 2015-2017, Jamie Mansfield <https://github.com/jamierocks> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
/* * 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 m...
/* * Copyright (C) 2016 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...
/* * Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* * 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...
/* * Copyright 2021-2021 Alfresco Software, 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 applicable ...
package betterquesting.client.themes; import betterquesting.api.api.ApiReference; import betterquesting.api.api.QuestingAPI; import betterquesting.api2.client.gui.misc.GuiRectangle; import betterquesting.api2.client.gui.resources.textures.IGuiTexture; import betterquesting.api2.client.gui.resources.textures.SimpleText...
package ru.stqa.pft.addressbook.tests; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.UserData; import ru.stqa.pft.addressbook.model.Users; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.Matche...
/* * Copyright 1997-2021 Optimatika * * 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, modify, merge, publish...
package li.cil.scannable.client; import li.cil.scannable.client.gui.ConfigurableBlockScannerModuleContainerScreen; import li.cil.scannable.client.gui.ConfigurableEntityScannerModuleContainerScreen; import li.cil.scannable.client.gui.ScannerContainerScreen; import li.cil.scannable.client.renderer.OverlayRenderer; impor...
package Sogong.IMS.controller.WorkspaceManagement; import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.serv...
/* * 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 so.blacklight.vault.locale; public enum Message { APPLICATION_NAME("application.name"), APPLICATION_VERSION("application.version"), ERROR_CANNOT_LOAD("error.cannot_load"), ERROR_CANNOT_READ("error.cannot_read"), ERROR_PASSWORD_MISSING("prompt.password.error"), ERROR_RESTRICTED_ACCESS("e...
package com.tanchaoyin.demo.base; /** * Created by tanchaoyin on 2017/4/28. */ public class NoNetworkException extends RuntimeException { }
package com.marcinkulwicki.localetools; import android.app.Activity; import android.util.Log; import com.unity3d.player.UnityPlayer; import com.unity3d.player.UnityPlayerActivity; public class Main extends UnityPlayerActivity { public static void startLocation() { Log.w("Native Toolkit", "Start Locat...
package io.jans.plugin.demo.ext; import jakarta.inject.Inject; import jakarta.enterprise.context.ApplicationScoped; import jakarta.enterprise.event.Observes; import jakarta.enterprise.inject.spi.AfterDeploymentValidation; import jakarta.enterprise.inject.spi.Extension; import org.slf4j.Logger; @ApplicationScoped pub...
/* * 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 de.jkueck; import lombok.Data; @Data public class LoginRequest { private String email; private String password; }
/* * 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 ...
package ru.otus.servlet; import ru.otus.services.TemplateProcessor; import ru.otus.services.UserAuthService; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOException; import jav...
/* * MIT License * * Copyright (c) 2017 RedNesto * * 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, modify,...
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
package com.xian.mall.ware.service; import com.baomidou.mybatisplus.extension.service.IService; import com.xian.common.utils.PageUtils; import com.xian.mall.ware.entity.WareSkuEntity; import java.util.Map; /** * 商品库存 * * @author lishouxian * @email li.shouxian@outlook.com * @date 2020-09-15 20:50:28 */ public ...
package org.talend.daikon.client; import static org.junit.Assert.assertEquals; import static org.talend.daikon.client.ClientServiceTestUtils.assertServiceClientClass; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.talend.daikon.ServiceBaseTests; import org.talend.daik...
package com.kenny.craftix.client.gui; import java.util.ArrayList; import java.util.List; import org.lwjgl.util.vector.Vector2f; import com.kenny.craftix.client.Craftix; import com.kenny.craftix.client.gui.button.GuiAbstractButton; import com.kenny.craftix.client.gui.button.IButton; import com.kenny.craftix.client.se...
package io.virtualapp.sys; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.support.annotation.Nullable; import andr...
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ 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...
package com.transfer.base; import com.transfer.tx.mapper.UserMapper; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import java.io.IOException; import java.io.InputStream...
package com.template.flows; import co.paralleluniverse.fibers.Suspendable; import net.corda.core.flows.*; import net.corda.core.transactions.SignedTransaction; // ****************** // * Responder flow * // ****************** @InitiatedBy(IssueMetal.class) public class IssueMetalResponder extends FlowLogic<SignedTran...
/** * Copyright © 2016-2022 The Thingsboard 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 applicab...
package com.example.rbac; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.example.rbac.dao.UserMapper; import com.example.rbac.dao.model.UserDO; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBo...
/* * 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) 2003-present, Jodd Team (http://jodd.org) // 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, // th...
/* * This file is generated by jOOQ. */ package br.com.evandropires.oliviachallenge.jooq; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Schema; import org.jooq.impl.CatalogImpl; /** * This class is generated by jOOQ. */ @Generate...
/* * Copyright (c) 2019 Couchbase, 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...
/*- * 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 seedu.address.logic.commands; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure; import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess; ...
/* * Copyright 2016-2021 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...
package com.prowidesoftware.swift.model.mx.dic; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builder.EqualsBuilder; im...
package com.szagurskii.patternedtextwatcher; import android.support.test.runner.AndroidJUnit4; import com.szagurskii.patternedtextwatcher.utils.Utils; import org.junit.Test; import org.junit.runner.RunWith; @RunWith(AndroidJUnit4.class) public class BasicDeletionTests extends BaseTests { @Test public void simpl...
/* * Copyright 2000-2009 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...
package com.remondis.cdc.consumer.pactbuilder.fieldtests.customfieldname; public class Parent { private Structure structure; public Parent(Structure structure) { super(); this.structure = structure; } public Parent() { super(); } public Structure getStructure() { return structure; } ...
package com.mapswithme.maps.widget; import android.app.Activity; import android.support.annotation.IdRes; import android.support.annotation.StringRes; import android.support.v7.widget.Toolbar; import android.view.View; import com.mapswithme.maps.R; import com.mapswithme.util.UiUtils; import com.mapswithme.util.Utils;...
/* * Protocol Buffers - Google's data interchange format * Copyright 2014 Google Inc. All rights reserved. * https://developers.google.com/protocol-buffers/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * ...
/************************************************************************** Exchange Web Services Java API Copyright (c) Microsoft Corporation All rights reserved. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Sof...
/* * 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 uk.gov.hmcts.divorce.legaladvisor.notification; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import uk.gov.hmcts.divorce.divorcecase.model.Applicant; import uk.go...
package com.example.scrimishcardgame; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execu...
/* * MIT LICENSE * Copyright 2000-2021 Simplified Logic, 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, co...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
/* * 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 ...